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
if you are not in admin account, make sure parental controls are turned off.It worked for me.
Try these...
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
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.
This is what I do on my Win7 64 bit system when this happens:
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
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.
you could try this:
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!"