Android Sdk tools Revision 22 issue?

淺唱寂寞╮ 提交于 2019-11-27 04:11:35
bkurzius

I had major issues with the update as well. In my case my project uses a library that also depends on another library. I found that I needed to check the box for Android Private Libraries in the order/export tab of the Java Build Path for the project - and each of my connected libraries -- to properly compile and run the app on a device.

Some others have indicated that you need to also check Android Dependencies too but that doesn't seem necessary for my project.

Yes it's right. I had the problem too, there is a new "Android SDK Bild-tools". Open the Android SDK Manager and make a update, maybe twice.

More info:https://groups.google.com/forum/?fromgroups=#!topic/android-developers/rCaeT3qckoE%5B1-25-false%5D

I had this same issue.

In the project properties, Java Build Path, Order and Export section, I had to make sure the Android Private Libraries was checked.

Then I had to clean the project. After that it seems to work.

It was indeed an issue with 'Order and Export' of the Java Build Path.

When upgrading, the 'Order and Export' of the new 'Android Private Libraries' is not always checked. And the android-support-v4.jar is now in this 'Android Private Libraries' section.

To fix this, go to 'Order and Export' and check 'Android Private Libraries'. Then refresh/clean/rebuild.

After you done this 'fix' for a library project, you may need to just close and re-open any depending project, because they may not see this 'fix' immediately.

I found the answer here.

Same error i am also having, After i delete the empty gen folder it created automatically with files like R.java and all error has gone working fine

I am on windows 7, I had the same problem and merely making eclipse to "Run as administrator" and installing the packages again worked for me. (I had to do it even though I was logged in as an admin)

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