We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is working fine using react-native run-android but it can not build using ./gradlew assembleRelease. Here are the errors i get:
react-native run-android
./gradlew assembleRelease
Execution failed for task ':react-native-material-kit:verifyReleaseResources'. java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed Output: /xxx/react-native/node_modules/react-native-material-kit/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. /xxx/react-native/node_modules/react-native-material-kit/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. /xxx/react-native/node_modules/react-native-material-kit/android/build/intermediates/res/merged/release/values/values.xml:968: error: resource android:attr/fontVariationSettings not found. /xxx/react-native/node_modules/react-native-material-kit/android/build/intermediates/res/merged/release/values/values.xml:969: error: resource android:attr/ttcIndex not found. error: failed linking references.
I use gralde 4.7 and this config:
buildToolsVersion = 28.0.3 minSdkVersion = 16 compileSdkVersion = 28 targetSdkVersion = 27 supportLibVersion = 28.0.0
Thank you in advance for your help
The text was updated successfully, but these errors were encountered:
Same here.
Sorry, something went wrong.
Same here too
add this to your root build.gradle file
subprojects { subproject -> afterEvaluate{ if((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) { android { compileSdkVersion rootProject.ext.compileSdkVersion buildToolsVersion rootProject.ext.buildToolsVersion } } } }
No branches or pull requests
It is working fine using
react-native run-android
but it can not build using./gradlew assembleRelease
. Here are the errors i get:I use gralde 4.7 and this config:
Thank you in advance for your help
The text was updated successfully, but these errors were encountered: