Quantcast
Channel: Active questions tagged react-native+android - Stack Overflow
Viewing all articles
Browse latest Browse all 28474

How to create a React Native package which has an Android Library module?

$
0
0

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'.

Viewing all articles
Browse latest Browse all 28474

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>