简体   繁体   中英

Problem when running app in android emulator

im working under Windows 7 32 bit, with Eclipse3.6.1+latest Android SDK when i run the project in Eclipse it start the emulator and shows 3 cmd windows like this: http://img409.imageshack.us/img409/3182/tempb.png and the last windows shows this error:

E/ddms: shutting down due to uncaught exception
E/ddms: java.lang.IllegalArgumentException: Bad version: standalone
 at com.android.sdkstats.SdkStatsService.normalizeVersion(SdkStatsService.java:467)
 at com.android.sdkstats.SdkStatsService.doPing(SdkStatsService.java:195)
 at com.android.sdkstats.SdkStatsService.ping(SdkStatsService.java:130)

whats interesting about it is when it finished to run all three cmd windows for 1-2 sec it shows the emulator then i actually need to press the turn on button and wait until the device boot up and open the program (wich takes about 2 min)

i have two questions: 1. why is this error shown and it still works after all 2. why cant it jsut boot on my applications right away without turning on the device and wait 2 minutes until i could open it.

  • im a noobie so sorry if i made you laught :P

It looks like the same problem here:

E/ddms IllegalArgumentException 'Bad version' with both 32 and 64 bit Java JRE installed

On why startup takes a long time ... it needs to launch a whole emulated OS to make your apps at home. You can leave it up though, and just run your app again and again.

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