Replies: 1 comment
-
|
hi have you got any solution |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ask your Question
What do I need to do to publish android .aar packages?
I have a package that contains a lot of native (.cpp) code, which I'd like to pre-build for the user.
My android folder in my react-native library looks like this:
I'd like to pre-compile the following files/directories:
cpp-adapter.cppMMKV/AndroidMMKV/Corebuild.gradle?{ "files": [ "android/src", "android/build.gradle", "android/gradle.properties", "lib/aar", "lib/commonjs", "lib/module", "lib/typescript", "ios/**/*.h", "ios/**/*.m", "ios/**/*.mm", "ios/**/*.cpp", "react-native-mmkv.podspec", "README.md" ], }but that doesn't work since it can't find the
CMakeLists.txtI mentioned in mybuild.gradle. If I add theCMakeLists.txtit complains since it can't find the.cppfiles. If I removeandroid/entirely, it simply doesn't use the native module.I believe it simply ignores the
lib/aarfolder 🤔Beta Was this translation helpful? Give feedback.
All reactions