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

前端 未结 22 1803
走了就别回头了
走了就别回头了 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:24

    What Jichao said always works for me.

    Generally when I see this error if I am using Eclipse I will close and reopen the program. I will then uninstall the Application from the target phone. This sometimes fixes the issue but not always.

    Next I will open up the command terminal and head into the android-sdk then run:

    ./adb install .apk
    

    This does the same thing that running through Eclipse does but it will give you an error message.

    (9 times out of 10 it simply says 'INSTALL_ALREADY_EXISTS' and I go and uninstall the application off the target phone again then run adb and I am working fine.)

提交回复
热议问题