24小时热门版块排行榜    

查看: 493  |  回复: 1

cyq_wlgbj

铁虫 (初入文坛)

[求助] 求大神帮忙Android环境搭建出现问题 已有1人参与

jdk安装是正确的,sak manager出现了一个问题,我没有管,但是在eclipse新建Android Application Project 时出现了问题,提示:
[2016-09-05 16:31:03 - HI_word] D:\Program Files\android\HI_word\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:03 - HI_word]
[2016-09-05 16:31:03 - HI_word] D:\Program Files\android\HI_word\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:03 - HI_word]
[2016-09-05 16:31:03 - HI_word] D:\Program Files\android\HI_word\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-09-05 16:31:03 - HI_word]
[2016-09-05 16:31:04 - HI_word] D:\Program Files\android\HI_word\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:04 - HI_word]
[2016-09-05 16:31:04 - HI_word] D:\Program Files\android\HI_word\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:04 - HI_word]
[2016-09-05 16:31:04 - HI_word] D:\Program Files\android\HI_word\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-09-05 16:31:04 - HI_word]
[2016-09-05 16:31:06 - HI_word] D:\Program Files\android\HI_word\res\values\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:06 - HI_word]
[2016-09-05 16:31:06 - HI_word] D:\Program Files\android\HI_word\res\values-v11\styles.xml:7: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
[2016-09-05 16:31:06 - HI_word]
[2016-09-05 16:31:06 - HI_word] D:\Program Files\android\HI_word\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-09-05 16:31:06 - HI_word]
这些问题,不知道怎么回事,从网上搜了说是加载v7什么的,但是我找不到,是我sdk安装的不正确吗?导致了现在出现一系列问题,整了好几天都没有成果,希望大神帮忙,看看怎么解决这个问题,不剩感激啊!!
回复此楼

» 猜你喜欢

坚持就是胜利
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

FMStation

至尊木虫 (知名作家)

【答案】应助回帖

感谢参与,应助指数 +1
Your compile SDK version must match the support library's major version.

Since you are using version 23 of the support library, you need to compile against version 23 of the Android SDK.

Alternatively you can continue compiling against version 22 of the Android SDK by switching to the latest support library v22.

https://stackoverflow.com/questi ... ches-the-given-name
2楼2016-09-06 09:58:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cyq_wlgbj 的主题更新
信息提示
请填处理意见