我正在使用 intelliJ IDEA12.1.3 进行 Android 开发。
我运行了一个“Hello World”应用程序,但是当模拟器启动时,命令行中会出现设备未准备好的消息,请等待20秒。
Uploading file
local path: C:\Users\Haseeb\IdeaProjects\untitled\out\production\untitled\untitled.apk
remote path: /data/local/tmp/com.example.untitled
Installing com.example.untitled
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.untitled"
Device is not ready. Waiting for 20 sec.
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.untitled"
Device is not ready. Waiting for 20 sec.
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.untitled"
Device is not ready. Waiting for 20 sec.
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.example.untitled"
Device is not ready. Waiting for 20 sec.
adb devices
命令时,是否在输出中看到模拟器处于在线
状态? - CrazyCoder