I try to import an android project, and i got this console message !!
**[2015-05-15 08:36:16 - CabBookingHome]** C:\Users\FAMILLE\Desktop\r21\CabBookingHome\res\values\strings.xml:104: error: Resource entry register_me is already defined.
**[2015-05-15 08:36:16 - CabBookingHome]** C:\Users\FAMILLE\Desktop\r21\CabBookingHome\res\values\base_strings.xml:10: Originally defined here.
**[2015-05-15 08:36:16 - CabBookingHome]** C:\Users\FAMILLE\Desktop\r21\CabBookingHome\res\values-v14\styles.xml:8: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
can any one help me please :) thank you
Related
I am using Visual Studio 2015 and trying to build an Xamarin solution (Android and iOS app). I am getting the following errors that are resulting in a failed build:
C : error APT0000: \Dev\GYB\GYBMobile\GYBMobile\GYBMobile.Android\obj\Debug\lp\68\jl\res\values-v24\values-v24.xml:1: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.
C : error APT0000: \Dev\GYB\GYBMobile\GYBMobile\GYBMobile.Android\obj\Debug\lp\68\jl\res\values-v24\values-v24.xml:1: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.
I cannot find any information on this. Any ideas what might be causing this?
Thanks!
I was able to get it working by installing SDK platform 24.
I get the following error in xamarin Android:
SeverityCode Description Project File Line Suppression State Error No resource found that matches the given name (at 'value' with value '#integer/google_play_services_version').
Please help me resolve this issue.
enter image description hereI have installed the android sdk and trying to create a new project but i have encounter the issues in appcompat_v7. I have tried few ways to recover the issue through the google search like project->clean, Change the target as android-19 in project properties and set the java build path but none of these work out for me.
I have faced the following issue,
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
...etc
Then the appcompat_v7 and the folder res->values-v21->styles_base.xml
always shown in red color.
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'
In manifest set targetsdkVersion="21"
and
In project.properties set target=android-21
I have a problem. In eclipse that when I import my Android Project in the Package Explorer I have three following errors.
1: Description Resource Path Location Type
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. styles.xml /E-Learning/res/values-v14 line 8 Android AAPT Problem
2: Description Resource Path Location Type
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. styles.xml /E-Learning/res/values line 7 Android AAPT Problem
3: Description Resource Path Location Type
error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'. styles.xml /E-Learning/res/values-v11 line 7 Android AAPT Problem
Basically by mistake the following project was removed by chance. Before that the project was running correctly but when I import again the errors occurred. Please give me some solution.
Change your theme in style xml
<style name="AppTheme" parent="#android:style/Theme.Light" />
Im trying to add a Library Project (https://github.com/inmite/android-styled-dialogs) to my Android Studio project.
However I get the following build errors because my build is not able to reference the values in the Android-styled-dialog LibraryProject
android-apt-compiler: [NavigationDrawer] /Users/Jase/Downloads/NavigationDrawer/res/values-v11/themes_apptheme.xml:23: error: Error retrieving parent for item: No resource found that matches the given name 'DialogStyleLight'.
android-apt-compiler: [NavigationDrawer] /Users/Jase/Downloads/NavigationDrawer/res/values-v11/themes_apptheme.xml:30: error: Error: No resource found that matches the given name: attr 'buttonBackgroundColorNormal'.
android-apt-compiler: [NavigationDrawer] /Users/Jase/Downloads/NavigationDrawer/res/values-v11/themes_apptheme.xml:29: error: Error: No resource found that matches the given name: attr 'buttonSeparatorColor'.
....
I don't really know anything about Gradle but I feel that I possibly need to tell the build to reference Android-styled-dialog. I don't know I'm completely lost...
PS: When I created a new android studio project with the demo project for Android-Styled-Dialogs it created the following mavin file... which I don't have in my other project - https://gist.github.com/anonymous/8207108
I don't really know anything about Java build systems, please help