android library projects cannot be launched

来源:互联网 发布:剑三唐门成男捏脸数据 编辑:程序博客网 时间:2024/05/16 17:39

在Eclipse中运行应用一个刚导入进来的工程程序出现对话框“android library projects cannot be launched”所示

把is library 前的对勾去掉,如下图2

===================================================

引用下http://jingyan.baidu.com/album/636f38bb3df187d6b9461048.html?picindex=3


===========================================================

Hello World Android App, Error: workspace\appcompat_v7\res\values-v21\styles_base.xml No resource found that matches the given name

1.不多说,直接上图,如图1(由此可见,你的API应该勾选5.0.1的)

=============================================

2.the problem is that the new project created contains into the /libs folder, the library "android-support-v4.jar" too!, just delete this .jar from your new project ( that is already contained into the appcompat_v7 library)

don´t forget to clean and build your project

意思是有了appcompat_v7(appcompat_v7包含android-support-v4.jar ,就把android-support-v4.jar删掉,


说的有点乱,但是这些都是自己遇到的解决方法!!
来自:http://stackoverflow.com/questions/26518144/hello-world-android-app-error-workspace-appcompat-v7-res-values-v21-styles-bas


0 0