简体   繁体   中英

Why App won't install in Android emulator automatically

I followed the tutorial on http://developer.android.com/resources/tutorials/hello-world.html

After I pressed run, the emulator show up and display the home menu for one to unlock. But the Hello Android app won't install.

I googled and tried many suggestion on the web and most of them failed. I feel hopeless. The only way to make it work is to launch the emulator and kill the adb.exe, after the adb.exe was revived, it will install the app. However, it doesn't work everytime.

Is this a bug? Does any know the cause? If the eclipse is something optional such as Eclipse, I can just switch another one...

Here is some of my configuration:

- Windows Xp
- Android SDK r19 on D:\
- ADT v18
- Eclipse in C:\
- Workspace in D:\

I think you can try to download a fresh eclipse and install again the ADT-Plugin for eclipse. I guess there is a problem in your previous install.

Try

  1. Restart Your Computer

  2. run

    adb uninstall your.package

  3. Start Eclipse and run the application

  4. Unlock the emulator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM