Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using AAR from source with React Native #78

Open
juanamd opened this issue Jun 22, 2021 · 0 comments
Open

Using AAR from source with React Native #78

juanamd opened this issue Jun 22, 2021 · 0 comments

Comments

@juanamd
Copy link

juanamd commented Jun 22, 2021

Hi,

I managed to compile SoLoader from source as explained in the readme file, but could not make it work with React Native.
Basically, I cannot tell Gradle to replace the Soloader dependencies from react-native with my local .aar file.
I tried everything I could find with my limited Gradle knowledge, but either:

  • the app is built with the default dependency (com.facebook.soloader:soloader) and not my aar
  • the build process fails because there are duplicate classes
  • the build process cannot find SoLoader
  • the app crashes with an error similar to this one

I currently use the latest stable version (0.10.1) by doing
resolutionStrategy { force "com.facebook.soloader:soloader:0.10.1" }

But I could not find how to do the same with a local aar file.

Any help would be welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant