Failed to install apk on device 'emulator-5554': timeout

android, eclipse, path, timeout

Solution

Don't use spaces in your directory names. If you have files that are in such a directory (e.g., stuff inside of `C:\Program Files\`), copy them to another spot that does not have spaces.

Problem

I am new to Android development. I tried to run LunarLander project (create new project based on sample) in this folder C:\Program Files\Android\android-sdk-windows\samples\android-9\LunarLander But I got this error: Failed to install LunarLander.apk on device 'emulator-5554': timeout But if I copied it out to C:\LunarLander, it runs fine. I guess there is something wrong with the path. How do I fix or troubleshoot this?

Original source