Failed to install HelloAndroid.apk on device 'emulator-5554!

前端 未结 9 1141
灰色年华
灰色年华 2020-12-10 02:58

Ive seen the questions posted about this issue. I understand it takes several minutes for the emulator to configure itself and launch. But if Im getting the specific error

相关标签:
9条回答
  • 2020-12-10 03:21

    wait for the emulator to setup completely and then test your app. Also, I would leave you AVD open so you dont have to wait so long everytime you run your application.

    When it shows the red writing, don't close anything - leave it there and then press the run button again. Worked like a charm.

    0 讨论(0)
  • 2020-12-10 03:25

    You may need to increase the device ram size. For some Honeycomb AVDs at least, the default of 256 is insufficient, and caused me the same problem. Try at least 512.

    0 讨论(0)
  • 2020-12-10 03:26

    Go to window and preference and increase the ADB connection time out(ms) which is 500 by default. Also change the base local debugger port to more than 9000 in my case it worked.

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