react-native-tooltips
react-native-tooltips copied to clipboard
Task :react-native-tooltips:verifyReleaseResources FAILED
React-native : 0.61.2 getting error when i create release build with releaseAssemble
What went wrong: Execution failed for task ':react-native-tooltips:verifyReleaseResources'.
1 exception was raised by workers: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed /home/appbakerz/Desktop/rn-project/flatmatch/node_modules/react-native-tooltips/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:7: error: resource android:attr/dialogCornerRadius not found. /home/appbakerz/Desktop/rn-project/flatmatch/node_modules/react-native-tooltips/android/build/intermediates/res/merged/release/values-v28/values-v28.xml:11: error: resource android:attr/dialogCornerRadius not found. /home/appbakerz/Desktop/rn-project/flatmatch/node_modules/react-native-tooltips/android/build/intermediates/res/merged/release/values/values.xml:2743: error: resource android:attr/fontVariationSettings not found. /home/appbakerz/Desktop/rn-project/flatmatch/node_modules/react-native-tooltips/android/build/intermediates/res/merged/release/values/values.xml:2744: error: resource android:attr/ttcIndex not found. error: failed linking references.
Facing the same issue as well
Hi, solved this by changing the buildToolsVersion inside node_modules>react-native-tooltips>android>build.gradle same as the buildToolsVersion in the build.gradle inside android folder
Hi, I am facing the same issue.
any update?
I think I found a fix for this issue - you'll need to update the node_modules>react-native-tooltips>android>build.gradle file and update the followings:
- compileSdkVersion => change to the same that you're using (I've changed this to 29)
- buildToolsVersion => change to the same that you're using (I've changed this to 29.0.2)
- targetSdkVersion => change to the same that you're using (I've changed this to 29)
here is a patch if you're using patch-package (which is a lot easier!): https://gist.github.com/adamivancza/03de14e489ac24c97ebcef853164632f