Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
shaheem-khanzada opened this issue Oct 15, 2019 · 4 comments
Open

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

shaheem-khanzada opened this issue Oct 15, 2019 · 4 comments

Comments

@shaheem-khanzada
Copy link

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
Copy link

Facing the same issue as well

@amaimasque
Copy link

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
Copy link

swapanil commented Dec 22, 2020

Hi, I am facing the same issue.

any update?

@adamivancza
Copy link

adamivancza commented Jan 4, 2021

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

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

No branches or pull requests

4 participants