android新手,创建项目出错,求大神指教

风继续吹i 2016-08-21 09:21:04




[2016-08-21 21:20:11 - example] E:\Android程序\example\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-08-21 21:20:11 - example]
[2016-08-21 21:20:11 - example] E:\Android程序\example\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-08-21 21:20:11 - example]
[2016-08-21 21:20:11 - example] E:\Android程序\example\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2016-08-21 21:20:11 - example]
...全文
188 3 打赏 收藏 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
peacejay 2016-08-22
  • 打赏
  • 举报
回复
自从用了eclipse,哪里是报错删哪里,妈妈再也不用我不会敲代码了
风继续吹i 2016-08-21
  • 打赏
  • 举报
回复
引用 1 楼 sinat_35615296 的回复:
你的test类应该继承ACTIVITY类'',并重写oncreat方法; 或者你建立项目的时候,选择empty ACTIVITY
选择empty ACTIVITY也是不对,并且错误是一样的,百度,说是appcompat-v7 的问题
代码充电宝 2016-08-21
  • 打赏
  • 举报
回复
你的test类应该继承ACTIVITY类'',并重写oncreat方法; 或者你建立项目的时候,选择empty ACTIVITY

80,490

社区成员

发帖
与我相关
我的任务
社区描述
移动平台 Android
androidandroid-studioandroidx 技术论坛(原bbs)
社区管理员
  • Android
  • yechaoa
  • 失落夏天
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧