开发者

Why I cannot compile source code on my phone?

After I clicked run it shown as below

[2011-02-23 22:12:06 - cas1] Uploading cas开发者_Python百科1.apk onto device '100082d63935'
[2011-02-23 22:12:15 - cas1] Failed to install cas1.apk on device '100082d63935': timeout
[2011-02-23 22:12:15 - cas1] Launch canceled!

Please help me solve this problem


Is it an actual device or emulator? Is the app already installed from the market? If you should uninstall the market version. If its the emulator, that happens to me occasionally and restarting the emulator and waiting until the home screen appears usually fixes it.


Try issuing the command "adb kill-server" from the command line and then "adb devices" to start it back up again. Then try to deploy your apk again. I've had issues deploying to the Honeycomb emulator from Eclipse and the above fixed it.

Finally, if this doesn't work try installing the apk from the command line using adb install -r [your_apk].

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜