卸载SDK中的部分手机版本后,项目就出现红色叉叉

[2015-08-25 14:59:30 - Demo1] Unable to resolve target 'android-23'
[2015-08-25 14:59:30 - appcompat_v7] Unable to resolve target 'android-23'
[2015-08-25 14:59:45 - Demo2] C:\Users\Administrator\workspace\appcompat_v7\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2015-08-25 14:59:45 - Demo2]
[2015-08-25 14:59:45 - Demo2] 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-25 14:59:45 - Demo2]
[2015-08-25 16:28:10 - Demo2] C:\Users\Administrator\workspace\appcompat_v7\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2015-08-25 16:28:10 - Demo2]
[2015-08-25 16:28:10 - Demo2] 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-25 16:28:10 - Demo2]
[2015-08-25 16:28:12 - Demo2] C:\Users\Administrator\workspace\appcompat_v7\res\values-v23\styles_base.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.
[2015-08-25 16:28:12 - Demo2]
[2015-08-25 16:28:12 - Demo2] 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-25 16:28:12 - Demo2]

你可以刷一下机,试试看

项目中用到了该版本的SDK啊

你改下你依赖包的版本和你配置的targetSdkVersion