开发者

Android Hello World Exception

开发者 https://www.devze.com 2023-01-22 04:00 出处:网络
I am trying to get this hello world android application working. I go through this installation process and read about how easy this thing is to get up and running with a \"Hello World\" application.开

I am trying to get this hello world android application working.

I go through this installation process and read about how easy this thing is to get up and running with a "Hello World" application.开发者_如何学Python I run the simple hello world application (following every step exactly as it says) and POOF... nothing. I get an error java.lang.IllegalArgumentException: Bad version: standalone at com.android.sdkstats.sdkStatsService.normalizeVersion(sdkStatsService.java:467)

Any idea how to fix this? I have double checked my namespaces (all 3 of them) and also tried this using the XML editor...


From Eclipse:

Windows => Preferences => Android

1) Ensure your SDK Location is correct

*2) Click "Apply" to populate the list of available SDK(s) for Android

Summary: Setting the SDK location is not enough, if you were to set the location, then click OK without Apply first, you would get the exception "java.lang.IllegalArgumentException: Bad version".

0

精彩评论

暂无评论...
验证码 换一张
取 消