An error occurred after update the Android SDK Tool REV 22 “Unable to resolve superclass of L”

早过忘川 提交于 2019-12-04 23:33:04

With rev 22, they added "Android Private Libraries".

For every related Project (including the actionbarsherlock project), right click it -> Properties -> Java Build Path -> Order and Export -> Check Android Private Libraries

Besides adding Android Private Libraries, that should be also related to the target SDK version.

Try set 'android:targetSdkVersion="17"' in the manifest XML, this solve my build problem recently after updating the SDK

After adding Android Private Libraries, I had the problem with

... Unable to execute dex: Multiple dex files define ...   
... Conversion to Dalvik format failed: Unable to execute dex: Multiple dex ...

After deleting all libs except for "Android 4.2", "Android Dependencies" and "Android Private Libraries" the problem was solved and I could export my app.

I encounter the same problem when I update ADT and SDKTools for 22 ,and I trid all answer that I can find from internet,but it doesn't work ,at last ,try set 'android:targetSdkVerson="17"' in the project.properties,and clean it ,then problem solved.

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