eclipse的Android项目不能运行
2015-08-28 13:57
585 查看
1,
eclipse下载地址http://wear.techbrood.com/sdk/installing/index.html?pkg=adt
2
配置好环境
3
装好Android_SDK_R22.6.1_XiaZaiBa这个sdk
4,
点击Android sdk manager自动下载组件
5,出现错误 主要是appcompat_v7的错误
ror retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
把图片中的Android 换成4.0的就可以用了(点击右键的properties)
6,下载
![](http://blog.csdn.net/xieshuhi_2013/article/details/file:/C:\Users\Administrator\AppData\Roaming\Tencent\Users\1029425607\QQ\WinTemp\RichOle\PXS4E]6[C7C@@T)EDAVLSH6.png)
![](http://blog.csdn.net/xieshuhi_2013/article/details/file:/C:\Users\Administrator\AppData\Roaming\Tencent\Users\1029425607\QQ\WinTemp\RichOle\PXS4E]6[C7C@@T)EDAVLSH6.png)
eclipse下载地址http://wear.techbrood.com/sdk/installing/index.html?pkg=adt
2
配置好环境
3
装好Android_SDK_R22.6.1_XiaZaiBa这个sdk
4,
点击Android sdk manager自动下载组件
5,出现错误 主要是appcompat_v7的错误
ror retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-v23\styles_base_text.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2015-08-28 11:11:05 - huihui] C:\Users\Administrator\workspace\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
把图片中的Android 换成4.0的就可以用了(点击右键的properties)
6,下载
![](http://blog.csdn.net/xieshuhi_2013/article/details/file:/C:\Users\Administrator\AppData\Roaming\Tencent\Users\1029425607\QQ\WinTemp\RichOle\PXS4E]6[C7C@@T)EDAVLSH6.png)
![](http://blog.csdn.net/xieshuhi_2013/article/details/file:/C:\Users\Administrator\AppData\Roaming\Tencent\Users\1029425607\QQ\WinTemp\RichOle\PXS4E]6[C7C@@T)EDAVLSH6.png)
![](http://blog.csdn.net/xieshuhi_2013/article/details/file:/C:\Users\Administrator\AppData\Roaming\Tencent\Users\1029425607\QQ\WinTemp\RichOle\PXS4E]6[C7C@@T)EDAVLSH6.png)
相关文章推荐
- java中&和&&的区别
- java POI实现向Excel中插入图片
- Java虚拟机类加载机制浅谈
- Spring Quartz Java工程版和Web工程版示例
- 使用java理解程序逻辑 第三章 选择结构一
- spring配置文件命名空间读取顺序
- [原创]Java中字符串、数组、集合及JSONArray的长度属性
- springmvc 整合多个数据源
- Struts DispatchAction Example
- Java中toString()方法的使用
- Struts ForwardAction Example
- SSH问题(五)java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
- eclipse mylyn.tasks.ui
- Struts – Wildcards example
- struts2 if标签示例
- Struts – Multiple configuration files example
- Web Service-- 使用 JDK 发布 WS
- Configure a welcome page in Struts
- java -日期
- java正则表达式练习