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

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

    OK, this approach will only be useful when you are connecting to a real device rather than to an Android emulator.

    Resetting the DDMS ADB connection timeout won't work nicely with a real device when there is a problem with USB debugging mode of the device.

    So, disabling and re-enabling USB debugging mode seems to resolve the issue by creating a new fresh ADB session on the device.

    0 讨论(0)
  • 2020-11-29 00:19

    When it shows the red writing - the error , don't close the emulator - leave it as is and run the application again.

    0 讨论(0)
  • 2020-11-29 00:19

    go setting- security verify apps if checked, change to unchecked status, then change to checked status

    0 讨论(0)
  • 2020-11-29 00:21

    I had the same problem and solved it by adding the paths of Android SDK folder tools and platform-tools to system PATH variable then restarting the device.

    0 讨论(0)
  • 2020-11-29 00:21

    I have the same problem: Failed to install test.apk on device 'xxxxxxxxx': null

    I try to reboot phone, restart Eclipse, and nothing!

    Then, I remove this project from Eclipse workspace, and import again. (File, Import, Existing project to workspace). I do not know exactly what the problem was, but now is working ok.

    0 讨论(0)
  • 2020-11-29 00:21

    I was getting the same error.

    I Just left the AVD running even after it says "Failed to install *.apk on device-emulator-5554". It automatically loaded the project afterwards.

    I think the error comes due the slow start up of the AVD.

    0 讨论(0)
提交回复
热议问题