Created
November 9, 2017 18:28
-
-
Save thirdreplicator/b5c133f7b3253c816a86e9157dbbc030 to your computer and use it in GitHub Desktop.
If you get this error: ~/$REACT_NATIVE_PROJECT_ROOT_DIR/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', then make the following changes to ./android/app/build.gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ./android/app/build.gradle | |
# Extra missing instructions | |
# 1. Change compileSdkVersion to 25 | |
# 2. and buildToolsVersion to 25.0.3. | |
# 3. and targetSdkVersion to 25 | |
android { | |
compileSdkVersion 25 | |
buildToolsVersion 25.0.3 | |
... | |
targetSdkVersion 25 | |
... | |
In the dependencies section, change the appcompat to the same version: | |
dependencies { | |
... | |
compile "com.android.support:appcompat-v7:25.0.3" | |
... | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After that it should compile.
react-native run-android