-
Notifications
You must be signed in to change notification settings - Fork 113
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
Doesn't build on Android #45
Comments
To anyone with this problem, these multidex answers solved for me, it was the "multiDexEnabled true" on "/app/build.gradle" that was suggested here Updated after @acuntex suggestion |
@wtfdiov Sorry, but it wouldn't have hurt to tell which one of the many answers solved it. Btw.: In my case it shows: "Caused by: com.android.builder.multidex.D8MainDexList$MainDexListException: com.android.tools.r8.errors.CompilationError: Program type already present: org.spongycastle.operator.DigestCalculatorProvider" This is because i have also installed react-native-aes-crypto, that also uses spongycastle. |
@acuntex I'm also using react-native-aes-crypto and had the same issue. I solved it by excluding spongycastle from one of the libraries. In the build.gradle file of your project, change these lines:
to this:
|
closing due to inactivity |
@kenyontu thanks, it save my day |
After adding
react-native-rsa-native
to our react-native project it couldn't build anymore.react-native run-android
fails with the following error:cd android && ./gradlew installDebug --stacktrace
gives the following stacktrace:It builds using Android Studio though.
Any help is appreciated, thanks.
The text was updated successfully, but these errors were encountered: