Closed mppperez closed 5 years ago
Ok, I've found a solution at StackOverflow: https://stackoverflow.com/a/56696796
npm install --save-dev jetifier (or use yarn, but install it locally in your project, not globally)
npx jetify or npx jetify -w=1 (to specify the number of parallel workers)
Kind of confusing since I expected "enableJetifier" should have done the same but it seems it doesn't
Hello,
I've just started a new react native project from scratch and just added this library regarding to the readme. Unfortunately it won't build now anymore because of following error:
My package.json:
settings.gradle:
android/build.gradle
My android/app/build.gradle is the default generated one as well. Just added the library depencdency declaration:
gradle.properties
I've found other threads with similar errors which suggested changing useAndroidX and enableJetifier to false: unfortunately this won't help here.
Any help is appreciated.
BR