Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get this to build for android #13

Open
liebrand opened this issue Jan 9, 2016 · 5 comments
Open

Can't get this to build for android #13

liebrand opened this issue Jan 9, 2016 · 5 comments

Comments

@liebrand
Copy link

liebrand commented Jan 9, 2016

I've been trying to get this to build for android, but not having much luck. I keep having these errors:

..../platforms/android/build/intermediates/res/debug/values-v23/values.xml:5: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Inverse'.

..../platforms/android/build/intermediates/res/debug/values-v23/values.xml:20: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Button.Colored'.

:processDebugResources FAILED

From what I can see that is because the Support Library is at version 23 and the sdk is at version 22 ? But cordova requires the sdk to be at 22 does it not? How do I change this?

(Note: I'm using the CLI not android studio, because that thing just does my head in)

@Zippersk
Copy link

Zippersk commented Jan 9, 2016

Go to yourApp/platforms/android/project.properties
and change:
target=android-22
to:
target=android-23

@liebrand
Copy link
Author

liebrand commented Jan 9, 2016

I'll give that a go, but that file states at the top:

Do not modify this file -- YOUR CHANGES WILL BE ERASED!

So I figured that wasn't quite the right solution?

@EddyVerbruggen
Copy link
Contributor

@liebrand did it help in your case?

@liebrand
Copy link
Author

Sorry, I haven't tried this again. I managed to get this to build for iOS and noticed a couple of more problematic issues that would stop me from being able to use it for my project. I raised those questions here:
#14

@EddyVerbruggen
Copy link
Contributor

No problem, let's focus on #14 first then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants