开发者

R.java not getting generated and AIDL files not getting compiled in Android SDK 2.3

开发者 https://www.devze.com 2023-01-29 10:04 出处:网络
i noticed that ADB.exe moved to platform-tools on Android 2.3 SDK and added it to the path so thats fine. But now, even with all tools and Eclipse plugin updated,开发者_如何学Go my R.java does not get

i noticed that ADB.exe moved to platform-tools on Android 2.3 SDK and added it to the path so thats fine. But now, even with all tools and Eclipse plugin updated,开发者_如何学Go my R.java does not get generated and the AIDL files get not converted into stub classes -> ergo the whole gen folder is empty (even if i delete the whole folder or clean my project). Our build is broken due to this and i want to ask if someone had/has the same experience and maybe some solution to this problem?

thanks Robert


There is an entry with some hints about how you should upgrade to 2.3 with Eclipse:

http://ggomeze.com/2010/12/09/updating-eclipse-to-gingerbread

Probably your resources didn't get build because of the new "formatted" feature coming with 2.3. Review your string.xml files, and make sure you use the proper syntax.


I solved this issue by doing a fresh install of Eclipse Helios (I was using Ganymede before that). I then reimported my projects, and the problem's gone.

0

精彩评论

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