I want to create a React Native package with native modules in it. The Android part also should have a Android Library module added to it. How do I do this?
I have tried adding in the dependencies
block of build.gradle
of the package.
implementation project(path: ':lib2')
But I get the error:
ERROR: Project with path ':lib2' could not be found in project ':react-native-mod'.