Android 创建项目出现No resource found that matches the given name Theme.AppCompat.Light
2017-11-10 17:06
459 查看
关于为何出现No resource found that matches the given name ‘Theme.AppCompat.Light’的原因
这边博客已经写的很清楚了 大家可以参考一下 http://www.jianshu.com/p/6ad7864e005e
在解决该异常时遇到了一些问题在这里补充一下
1、eclipse的SDK manager没有android support library
网上给出的解决方案都是利用更换镜像源来解决的,可是现在baidu能找到的镜像中都不包括该项了。
可以通过手动下载Android Support Library文件夹引入工程项目,下载地址如下
https://dl-ssl.google.com/android/repository/support_r23.0.1.zip
2、将android support library 导入eclipse后依旧报错
升级Android Sdk Build-Tool版本 与 下载的Android Support Library版本保持一致。再clean项目就OK了。
这边博客已经写的很清楚了 大家可以参考一下 http://www.jianshu.com/p/6ad7864e005e
在解决该异常时遇到了一些问题在这里补充一下
1、eclipse的SDK manager没有android support library
网上给出的解决方案都是利用更换镜像源来解决的,可是现在baidu能找到的镜像中都不包括该项了。
可以通过手动下载Android Support Library文件夹引入工程项目,下载地址如下
https://dl-ssl.google.com/android/repository/support_r23.0.1.zip
2、将android support library 导入eclipse后依旧报错
升级Android Sdk Build-Tool版本 与 下载的Android Support Library版本保持一致。再clean项目就OK了。
相关文章推荐
- Unity与Android交互:使用Unity打包出现了:No resource found that matches the given name“Theme.AppCompat.Light”的错误
- 新建Android项目报错"No resource found that matches the given name 'Theme.AppCompat.Light'."
- 有关Eclipse创建android工程报错:No resource found that matches the given name"Theme.AppCompat.Light"
- 【Android】导入Android项目提示错误No resource found that matches the given name 'Theme.AppCompat.Light.DarkAct
- android开发中遇到No resource found that matches the given name 'Theme.AppCompat.Light'.
- Android开发问题笔记(一):No resource found that matches the given name 'Theme.AppCompat.Light'.
- Android Error : No resource found that matches the given name 'Theme.AppCompat.Light'.
- unity3d导入jar包发布出现错误No resource found that matches the given name 'Theme.AppCompat.Light'.
- 关于安卓出现No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- [android] No resource found that matches the given name 'Theme.AppCompat.Light'
- [android] No resource found that matches the given name 'Theme.AppCompat.Light'
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- No resource found that matches the given name 'Theme.AppCompat.Light'
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- No resource found that matches the given name Theme.AppCompat.Light.*
- eclipse:No resource found that matches the given name 'Theme.AppCompat.Light'
- No resource found that matches the given name '@style/Theme.AppCompat.Light'
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- No resource found that matches the given name 'Theme.AppCompat.Light 的完美解决方案
- No resource found that matches the given name '@style/Theme.AppCompat.Light'.