So I have a mobile app built on top of React-Native with expo used for deployment.
When expo builds my app using Run gradlew, I get an error compiling a library: react-native-bottom-sheet
I already tried doing npx expo-doctor and it all passed, this error remains unresolved.
I appreciate the time and help in advance. I badly need help because there’s a limit of 4/10 build errors in expo which I assume I need to pay if it overlaps.
You told many things about non-Gradle things which thus are totally off-topic here or at most context.
But you did not mention anything about the Gradle problem you have.
Besides that, as it is not a Gradle build you maintain, you might still be wrong here but should ask the maintainers of react-native-bottom-sheet as it is their build you have problems with.
If you would have shared any information (optimally a build --scan URL) about your problem, maybe you could still get hints, but without information how should anyone guess what your problem might be.
Best guess is, that the version of that lib you are using is not compatible with the version of anything else you are using.
I’ll look into this and come back. And you’re right this is not the best place to ask since there’s so many non-gradle stuff but I also asked in expo community which is not responsive atm.
SOLVED: I uninstalled react-native-bottom-sheet package because it’s already depracated and I should use @gorhom/bottom-sheet instead because it’s the updated one.