【发布时间】:2015-03-17 07:21:52
【问题描述】:
目前,我的机器上安装了 Netbeans 8.0.2。以前,我有一个7.X 版本,我不记得确切的版本。我记得最后一次,我的 Netbeans 能够毫无问题地与模拟器通信,我可以在它们上运行和测试应用程序。然后我安装了 Android Studio 来感受一下它是如何工作的。我真的不喜欢它,因此将其卸载。然后我的问题开始了。在尝试测试我的应用程序时,我的 Netbeans 既不能与模拟器设备通信,也不能与实际的物理设备通信。我曾尝试手动杀死并重新启动 ADB 服务器,重新安装旧的 Netbeans 版本,甚至重新安装旧的 Android SDK,但没有任何效果。 Netbeans 仍然无法与其他仿真器或物理设备通信。当 Android 模拟器运行时,Netbeans 日志示例显示:
...//other output
INFO [org.netbeans.modules.android.core.ddm.AndroidDebugBridgeFactory]:
W PropertyFetcher AdbCommandRejectedException getting properties for
device emulator-5554: device offline
INFO [org.nyerel.nbandroid.logcat.LogReader]: searching for device with
sn: emulator-5554
INFO [org.nyerel.nbandroid.logcat.LogReader]: device: emulator-5554
INFO [org.nyerel.nbandroid.logcat.LogReader]: searching for device with
sn: emulator-5554
INFO [org.nyerel.nbandroid.logcat.LogReader]: device: emulator-5554
...//keeps repeating last two statements
但模拟器正在运行。可能是什么问题呢?
【问题讨论】:
标签: android netbeans android-emulator adb