1

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

screenshot

Then I import my class from my aar into my module. And it works fine. Build without errors:

screenshot

But when I import this class in MainApplication.java of the test app I get an error:

screenshot

screenshot

What I missed? Help me please! Thanks.

0 Answers0