Failed to install due to Timeout in Emulator

前端 未结 14 699
清歌不尽
清歌不尽 2020-12-29 03:11

When attempting to install an .apk from Eclipse, whether to an android emulator or to a physical device (via USB), I get a \"Failed to install *.apk on device \'*\': timeout

相关标签:
14条回答
  • 2020-12-29 03:16

    My simple approach is to just restart the emulator (not eclipse). It just works without me having to send any adb commands. Rarely happens with physical device though.

    0 讨论(0)
  • 2020-12-29 03:20

    I've got the same behavior as mentioned in your question, and tried every solution listed by you. Try this: change the USB port. For me, I have a total of 4 USB ports (two in front of my desktop and the two others in the back). The two ones on the front gives me [timeout install] whatever I do. The first one in the back I've tried has worked. I wonder it might be some issue related with USB port version, or MotherBoard embedded USB.

    0 讨论(0)
  • 2020-12-29 03:22

    Try changing the ADB connection timeout. I think it defaults that to 5000ms and I changed mine to 10000ms to get rid of that problem.

    If you are in Eclipse, you can do this by going through

    Window-> Preferences -> Android -> DDMS -> ADB Connection Timeout (ms)

    0 讨论(0)
  • 2020-12-29 03:23

    I had the same issue; by copying the *.apk to the cell phone memory and installing it directly on the device (by Myfiles and selecting the *.apk), it worked OK. I suspect that there's an issue with the USB connection (too many errors, Eclipse is too slow due to other processes using the USB, etc.).

    0 讨论(0)
  • 2020-12-29 03:23

    At first You have to Update all drivers of your system, then install android studio with basic way, then error will solved . Try First Because I also face this problem multiple time....

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

    Just unplugging and plugging in the phone (physical) works. This does happen to me (too many times) when the phone is connected too long and nothing is done.

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