Execution failed for task ':react-native-get-music-files:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:7: error: resource android:attr/colorError not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:11: error: resource android:attr/colorError not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values-v26\values-v26.xml:15: error: style attribute 'android:attr/keyboardNavigationCluster' not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values\values.xml:2711: error: resource android:attr/fontStyle not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values\values.xml:2712: error: resource android:attr/font not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values\values.xml:2713: error: resource android:attr/fontWeight not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values\values.xml:2714: error: resource android:attr/fontVariationSettings not found.
C:\Users\HD\Documents\ReactNative\Nuuruliman\node_modules\react-native-get-music-files\android\build\intermediates\res\merged\release\values\values.xml:2715: error: resource android:attr/ttcIndex not found.
error: failed linking references.
@Drazail Thanks for the pull request, i merged it, pull, but always same problem. As you said, problem come from gradle, but i don’t know how to solve it… What version of gradle do you use?
SOLVED!! I added this code a the end of /android/build-gradle
subprojects { afterEvaluate { project -> if (project.hasProperty("android")) { android { compileSdkVersion = 28 buildToolsVersion = "28.0.3" } } } }