FirstAndroidApp报错~~~

新手自学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的话,下一个吧。:)




  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值