首页 > 代码库 > Android异常记录--Unable to resolve superclass
Android异常记录--Unable to resolve superclass
当引用到*.jar文件时,报错“Unable to resolve superclass 。。。”
"
Just started to get this issue after upgrading to ADT 17.
Discovered that external .jar files need to be in a ‘libs‘ (with an s) folder otherwise their classes are not included in the .dex file that is created. Before the upgrade everything worked fine with my .jar files in a ‘lib‘ folder (no s).
"
在使用ADT 17之后,需要将jar文件放到“libs”文件夹下,注意此处的‘s’。否则jar文件里面的类不会被包含到.dex文件中。
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。