码迷,mamicode.com
首页 > 移动开发 > 详细

Android异常记录--Unable to resolve superclass

时间:2014-08-21 19:16:04      阅读:204      评论:0      收藏:0      [点我收藏+]

标签:android   使用   文件   for   ar   art   ad   sp   

当引用到*.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文件中。

Android异常记录--Unable to resolve superclass,布布扣,bubuko.com

Android异常记录--Unable to resolve superclass

标签:android   使用   文件   for   ar   art   ad   sp   

原文地址:http://www.cnblogs.com/yuanmingming/p/3927841.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!