新手自学Android,按照教程一步步的弄。我家的网很多人共用,所以好不容易都下载安装完毕,结果满怀欣喜的想写FirstAndroidApp,结果~~~报错。。我的娘啊~~~~愁
怎么办呢?想记录下过程,自己是怎么一步步解决的。
首先,error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
查到一个解决出处http://www.tuicool.com/articles/YreyEn3,
第一个errors解决。
第二个是error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
解决方法:http://www.phperz.com/article/14/1204/39233.html
第三个是
The container 'Android Dependencies' references non existing library 'D:\workspace\android-support-v7-appcompat\bin\android-support-v7-appcompat.jar' FirstAndroidAPP1
解决方法:右击library project,选择Build Path->Configure Build Path->Order and Export->Select All将所有包都选上
第四个是
The project cannot be built until build path errors are resolved
解决方法:右键工程,选择build path->configure build path,弹出的窗口里面选择libraries选项卡,你应该会看到一些标有红叉叉的jar包(可能做成了一个用户Lib的话,把那些加号都点开),把这些删掉,然后点击add external jars,选择你的tomcat下的lib下的那几个对应的jar(annotations-api.jar,el-api.jar,jasper.jar,jsp-api.jar,servlet-api.jar)包即可,如果没有tomcat的话,下一个吧。:)