Closed Sravansuhas closed 5 years ago
My Configuration buildToolsVersion = "28.0.2" minSdkVersion = 19 compileSdkVersion = 28 targetSdkVersion = 28 supportLibVersion = "28.0.0"
Task :react-native-unity-view:verifyReleaseResources FAILED
FAILURE: Build failed with an exception.
java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed E:\Suhas\Latest_BeforeReleaseV1\node_modules\react-native-unity-view\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. E:\Suhas\Latest_BeforeReleaseV1\node_modules\react-native-unity-view\android\build\intermediates\res\merged\release\values-v28\values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. E:\Suhas\Latest_BeforeReleaseV1\node_modules\react-native-unity-view\android\build\intermediates\res\merged\release\values\values.xml:2723: error: resource android:attr/fontVariationSettings not found. E:\Suhas\Latest_BeforeReleaseV1\node_modules\react-native-unity-view\android\build\intermediates\res\merged\release\values\values.xml:2724: error: resource android:attr/ttcIndex not found. error: failed linking references.
Oh I solved the issue. Just updated the compileSdkVersion to 28 in the Package gradle .
My Configuration buildToolsVersion = "28.0.2" minSdkVersion = 19 compileSdkVersion = 28 targetSdkVersion = 28 supportLibVersion = "28.0.0"
FAILURE: Build failed with an exception.