Skip to content

Conversation

junhoyeo
Copy link
Contributor

> Task :react-native-advanced-clipboard:verifyReleaseResources FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-advanced-clipboard:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > 1 exception was raised by workers:
     com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
     /Users/junhoyeo/.gradle/caches/transforms-2/files-2.1/ac578dd963fa0e8b00d9521c2822ad2e/appcompat-1.0.2/res/values-v28/values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

In the recent version of react-native, ./gradlew assembleRelease fails like the error above.
We can update the compileSdkVersion, buildToolsVersion in android/build.gradle and resolve this issue, with BUILD SUCCESSFUL 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant