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

Mention in readme that compileSdkVersion should be 25 #11

Closed
Noitidart opened this issue Mar 13, 2018 · 2 comments
Closed

Mention in readme that compileSdkVersion should be 25 #11

Noitidart opened this issue Mar 13, 2018 · 2 comments

Comments

@Noitidart
Copy link
Contributor

Noitidart commented Mar 13, 2018

Hi there,

Thanks for such awesome awesome modules!! Im still learning to write java component. I did my first edits here in react-native android prompt - shimohq/react-native-prompt-android#31

But anwyays, for this module we have to update android/app.build.gradle compileSdkVersion 25. By default it is 23. I had to change to 25 otherwise I get the below errors:

:app:processDebugResources
C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: AAPT: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:3: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Borderless.Colored'.

C:\Users\Mercurius\Documents\GitHub\trustedplatform_android\android\app\build\intermediates\res\merged\debug\values-v24\values-v24.xml:4: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.Button.Colored'.

My build fails for that. Do you know how to fix?

@cesardeazevedo
Copy link
Owner

yes, you need to use to use the compileSdkVersion 25 otherwise it won't work, i am not sure if there's a way to work with 23.

Do you have other problems using 25?

@Noitidart
Copy link
Contributor Author

Thanks so much for super fast reply. Nope just that problem. :) I'll PR the update to readme soon. :)

cesardeazevedo added a commit that referenced this issue Mar 13, 2018
indicate complieSdkVersion of 25 fixes #11
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

2 participants