Uh oh!
There was an error while loading. Please reload this page.
fix: Remove jniLibs.srcDirs - #2
Conversation
staltz
commented
Oct 26, 2021
Interesting, I also have 0.64.2 and I didn't have to make this change. Is it related to #1 ? |
gmaclennan
commented
Oct 26, 2021
Shouldn't be, that code doesn't touch anything related. I'll check a repro with an empty repo later this week. |
simonecorsato
commented
Nov 24, 2021
Hi, I think I'm having the same problem with jniLibs. I'm using react native 0.64.2. I'm reporting below the error from android studio about nodejs-mobile-react-native:
|
staltz
commented
Feb 1, 2022
Yeah, I stumbled upon the need for this patch too. It's caused by updating Android Build Tools to version 4. Read the details here: https://developer.android.com/studio/releases/gradle-plugin#cmake-imported-targets |
I needed to make this change to get this to build on RN 0.64 due to changes in Gradle, which I think automatically adds these dirs? I don't really understand what this change does however, just that it made it work for me!