prscX / react-native-tooltips

React Native: Native Tooltip View
Apache License 2.0
271 stars 40 forks source link

Task :react-native-tooltips:verifyReleaseResources FAILED #35

Open shaheem-khanzada opened 4 years ago

shaheem-khanzada commented 4 years ago

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.

amaimasque commented 4 years ago

Facing the same issue as well

amaimasque commented 4 years ago

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

swapanil commented 3 years ago

Hi, I am facing the same issue.

any update?

adamivancza commented 3 years ago

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:

here is a patch if you're using patch-package (which is a lot easier!): https://gist.github.com/adamivancza/03de14e489ac24c97ebcef853164632f