Open MehrdadKhnzd opened 5 years ago
I can run project on android (react-native run-android), but when I want to build the project (.\gradlew.bat assembleRelease), it gives me this error:
Execution failed for task ':react-native-bottom-sheet-behavior:verifyReleaseResources'. > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values\values.xml:2972: error: resource android:attr/fontVariationSettings not found. C:\Users\Mehrdad\Desktop\Sample\Sample\node_modules\react-native-bottom-sheet-behavior\android\build\intermediates\res\merged\release\values\values.xml:2973: error: resource android:attr/ttcIndex not found. error: failed linking references.
What can I do?
Can you post your app/build.gradle file?
I can run project on android (react-native run-android), but when I want to build the project (.\gradlew.bat assembleRelease), it gives me this error:
What can I do?