您的位置:首页 > 编程语言 > Java开发

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





内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: