使用android工程作为类库Unable to resolve superclass of L问题的解决

来源:互联网 发布:网络管理是什么意思 编辑:程序博客网 时间:2024/04/25 22:35

   之前在android上建立了一个二维码扫描的程序,使用的google的zxing工程作为我的android工程的类库,测试没有出现问题,最近把因为程序需要把ADT升级到了22.0,出现了Unable to resolve superclass of L问题,后从网络查询找到解决方法如下,

1 .project上单击右键。

2.选择Build Path-> Configure Build Path -> Order and Export

3.选中Android Private Libraries ,然后点击“OK”

4.在菜单project中选择clean。

5.重新运行编译和部署项目

经过上述步骤解决问题。