Home > Back-end >  About the import project styles. XML error can't solve the problem
About the import project styles. XML error can't solve the problem

Time:02-09

To import a project in eclipse, styles. The XML to a lot of wrong, check a lot of methods, or the remaining five can not solve,

Error: error retrieving the parent for the item: No resource found that matches the given name 'ThemeOverlay. AppCompat. Light'. styles. The XML/MarsDaemon - master/res/values line 18 Android AAPT Problem

Error: error: No resource found that matches the given name: attr 'colorPrimaryDark. styles. The XML/MarsDaemon - master/res/values line 7 Android AAPT Problem

Error: error retrieving the parent for the item: No resource found that matches the given name 'ThemeOverlay. AppCompat. Dark. ActionBar'. styles. The XML/MarsDaemon - master/res/values line 16 Android AAPT Problem

Error: error: No resource found that matches the given name: attr 'colorAccent. styles. The XML/MarsDaemon - master/res/values line 8 Android AAPT Problem

Error: error: No resource found that matches the given name: attr 'colorPrimary. styles. The XML/MarsDaemon - master/res/values line 6 Android AAPT Problem

Error code:
<style name="AppTheme AppBarOverlay" parent "=" ThemeOverlay. AppCompat. Dark. ActionBar "/& gt;

<style name="AppTheme PopupOverlay" parent "=" ThemeOverlay. AppCompat. Light "/& gt;


colorPrimary "& gt; @ color/primary
colorPrimaryDark "& gt; @ color/primaryDark
colorAccent "& gt; @ color/accent

Environmental aspect:

Jdk1.7
API: & lt; USES - SDK
android: minSdkVersion=
android: targetSdkVersion= /& gt;

Target= android - 21
Android. The library. Reference. 1=../appcompat_v7

CodePudding user response:

Excuse me, would you please tell me how can you solve it, I also am such mistakes
  • Related