Failed to install due to Timeout in Emulator

前端 未结 14 700
清歌不尽
清歌不尽 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:26

    if you are not in admin account, make sure parental controls are turned off.It worked for me.

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

    Try these...

    • Shut Down your eclipse.
    • Goto cmd and type:(I hope you have set the path of android tools folder in your path)

    adb kill-server
    adb start-server

    output will be:

    daemon not running. starting it now on port 5037 
    daemon started successfully 
    
    • Start you Eclipse.

    • Start your emulator, if you are on physical device, see that your cable is not loose, and properly connected

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

    I've solved the problem, many months later, by upgrading to a completely new environment. Specifically, a new machine with a fresh install of Windows 8. I've also avoided installing the Comodo suite (I don't know that this was causing the problem).

    So while this is not a direct solution to the problem (it's still not clear what was causing it) perhaps it might serve as another example where a workaround or lateral resolution to a problem is sometimes a good last resort option.

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

    This is what I do on my Win7 64 bit system when this happens:

    1. Close Eclipse
    2. Kill adb.exe and all copies of emulator-arm.exe from task manager
    3. Open Eclipse
    4. Change to DDMS view and make sure you can see Devices
    5. Open Window / ADV Manager
    6. Select required emulator and press Start
    7. Watch the Devices panel in DDMS, to see if the emulator shows. If it doesn't display before the Start window progress bar has finished then the emulator isn't going to load this time so close the emulator.
    8. Then repeat from 6.

    For me the emulator never starts first time but 9 times out of 10 will start successfully on the second attempt.

    Wish they'd fix this! Mark

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

    Make sure your working on an ADMIN ACCOUNT. This problem also frustrated me, but when I switched over to an admin account (on Windows Vista), the adb seemed to correctly install the apk on the device.

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

    you could try this:

    1. Open the "Android Virtual device Manager"
    2. Select from one the listed devices there and run it.
    3. Right your Android App -> Run As -> Android Application

    It worked for me. I tried this on an emulator in eclipse. It takes a while before the app is run. For me it took 33 seconds. Wait until the message in the console says "Success!"

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