在模拟器中安装APK文件:
adb install [apk file name]
然后就获得了这个错误:
antz@antz-90X3A:~/Android/androidmalware$ adb install 01_AngryBirdsRiov110.apk
error: device not found
- waiting for device -
但是我检测android device,已经有device了。
问题出在哪儿了呢?
运行仿真器的语句是:
emulator -avd <youravd.avd>
应该是你的仿真器或设备没连接到电脑上,你可以检测一下:
adb devices
不是你创建了一个AVD它就自己运行了,你要启动一个仿真器来运行它的。