views:

86

answers:

4

I have seen this question answered but the answers do not apply to me. I am a beginner to Android and I am trying to run HelloWorld with the Eclipse Plug-in that I have downloaded Api's 7 (2.1) and 8 (2.2) and have created a virtual devices for each version. I am running eclipse in xp with 1.6.0_22-b04 (32bit) no 64 bit jre installed on the system. I get the following stack trace when the emulator is launched:

IllegalArgumentException: bad version: standalone com.android.sdkstats.SdkStatsServer.normalizeVersion(SdkStatsService.java:467) com.android.sdkstats.SdkStatsServer.doPing(SdkStatsService.java:130) com.android.sdkstats.SdkStatsServer.ping(SdkStatsService.java:85) com.android.ddms.Main.main(Main.java:85)

Any help is greatly appreciated. thanks, francisco

A: 

Apparently you created a run configuration in Eclipse for normal (console) application which calls com.android.ddms.Main.main.

You need to create a run configuration for Android: http://developer.android.com/resources/tutorials/hello-world.html#run

Edited:

Apparently this happens if you have 32-bit JDKs installed on Windows 7. Try uninstalling 32-bit JDK and use 64-bit JDK instead.

Peter Knego