Android Failed to install HelloWorld.apk on device (null) Error

前端 未结 22 1761
走了就别回头了
走了就别回头了 2020-11-28 23:37

I am new to Android. When I am running my android application in eclipse I am getting these messages in the console:

[2011-03-08 12:57:35 - HelloWorld] ----         


        
22条回答
  •  执笔经年
    2020-11-29 00:23

    If you are running it on an Android Emulator you do not want to close it between runs. The system will try to load the app and it will time out because of how long it takes the emulator to boot up. You can fix this by increasing the ADB time by going to Window -> Preferences -> Android -> DDMS and increasing the ADB time out (default is 5000ms) or by leaving the emulator open and just running it after the emulator is up and running.

    I personally would recommend leaving the emulator open as it does load the apps relatively quickly once it is running, but it could be a drain on the system. Do whichever would help you more.

提交回复
热议问题