I need to integrate aar library to my native module. So, I created structure of the package by create-react-native-module
, then I created new folder libs
and added implementation fileTree(dir: "libs", include: ["*.aar"])
to build.gradle
in my package
Then I import my class from my aar into my module. And it works fine. Build without errors:
But when I import this class in MainApplication.java
of the test app I get an error:
What I missed? Help me please! Thanks.