eclipse的Android项目不能运行

来源:互联网 发布:iphone6plus在线软件下载 编辑:程序博客网 时间:2024/06/05 14:31

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,下载




0 0
原创粉丝点击