Android Hello World Exception

北慕城南 提交于 2019-12-31 03:54:09

问题


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 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...


回答1:


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".



来源:https://stackoverflow.com/questions/4020013/android-hello-world-exception

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!