voice icon indicating copy to clipboard operation
voice copied to clipboard

after linking getting gradle error

Open Akshaybagai52 opened this issue 2 years ago • 5 comments
trafficstars

After doing all the steps as shown in screenshot image I am getting this error image can anyone help me to solve this i'm in hurry and one warning which i'm getting is this "warn Package rn-fetch-blob contains invalid configuration: "dependency.hooks" is not allowed. Please verify it's properly linked using "react-native config" command and contact the package maintainers about this."

Akshaybagai52 avatar Aug 18 '23 08:08 Akshaybagai52

No need to manually link the library, just install it with the --save flag.

gio-tev avatar Aug 21 '23 21:08 gio-tev

did --save work for you?

hameezAhmad avatar Aug 22 '23 13:08 hameezAhmad

I have the same issue I tried multiple times with --save and also manual linking don't know what's the issue

hameezAhmad avatar Aug 22 '23 13:08 hameezAhmad

did --save work for you?

Yes it did.

If for some reason you are using Android 11 link

Also do not forget to cd android && ./gradlew clean

gio-tev avatar Aug 22 '23 14:08 gio-tev

I faced the same problem, and i solve it by adding : implementation project(':@react-native-community_voice') in android/app/build.gradle Notice : that the auto-linking will add the line above in the android/build.gralde ( just remove the line from this file )

imadchakri avatar Oct 09 '23 07:10 imadchakri