How to add .jar and .aar to the native module #397
Replies: 2 comments 4 replies
-
// `android/libs` folder:
android-transmitter-4.1.10.aar
android-transmitter-core-4.1.10.jar // android/build.gradle
dependencies {
implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs')
// ... others `implementation`
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
Solution 3 and 4 might work for development builds but can you try a production build of the example app 😅 ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some .jar and .aar that needs to be integrated in a native module to be used as
import
. I tried adding them to the top-level Gradle file (android/build.gradle), but they aren't being added to the example app as a dependency. How can I do it?What I tried:
Solution 1
Solution 2
Solution 3
Solution 4
Beta Was this translation helpful? Give feedback.
All reactions