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

Android build issue with RN 0.72.3 #186

Closed
DavideSegullo opened this issue Jul 24, 2023 · 14 comments
Closed

Android build issue with RN 0.72.3 #186

DavideSegullo opened this issue Jul 24, 2023 · 14 comments

Comments

@DavideSegullo
Copy link

Hello, I have some problems compiling android with RN 0.72.3 and expo 49.0.3.

Does anyone have the same error? Maybe it is related to upgrade to gradle 8?

image
@ruahman
Copy link

ruahman commented Jul 25, 2023

I think I am having the same issue

@Vvaraz
Copy link

Vvaraz commented Jul 27, 2023

I have the same issue and there was no problem a month ago. Whether it is related to the expo or RN framework version

@Vvaraz
Copy link

Vvaraz commented Jul 27, 2023

I tried using Expo ~48.0.18 and React Native 0.71.8, and now it works fine.

@DavideSegullo
Copy link
Author

I tried using Expo ~48.0.18 and React Native 0.71.8, and now it works fine.

Yes it's related to expo 49 and react native 0.72.3

@krisgrm
Copy link

krisgrm commented Jul 29, 2023

same here

@Alex-ensuria
Copy link

same here(

@DavideSegullo
Copy link
Author

I found a solution, inside android/app/build.gradle just add this:

android {
...
packagingOptions {
        pickFirst 'lib/x86/libcrypto.so'
        pickFirst 'lib/x86_64/libcrypto.so'
        pickFirst 'lib/armeabi-v7a/libcrypto.so'
        pickFirst 'lib/arm64-v8a/libcrypto.so'
    }
}

Give it a try

@kriptonhaz
Copy link

I found a solution, inside android/app/build.gradle just add this:

android {
...
packagingOptions {
        pickFirst 'lib/x86/libcrypto.so'
        pickFirst 'lib/x86_64/libcrypto.so'
        pickFirst 'lib/armeabi-v7a/libcrypto.so'
        pickFirst 'lib/arm64-v8a/libcrypto.so'
    }
}

Give it a try

I think you need to add this into documentation, your solution is work for me, thanks

@DavideSegullo
Copy link
Author

I found a solution, inside android/app/build.gradle just add this:

android {
...
packagingOptions {
        pickFirst 'lib/x86/libcrypto.so'
        pickFirst 'lib/x86_64/libcrypto.so'
        pickFirst 'lib/armeabi-v7a/libcrypto.so'
        pickFirst 'lib/arm64-v8a/libcrypto.so'
    }
}

Give it a try

I think you need to add this into documentation, your solution is work for me, thanks

I'll open a PR

@Montchy
Copy link

Montchy commented Aug 14, 2023

it seems like you found a solution, thanks for reporting this issue :)

@Montchy Montchy closed this as completed Aug 14, 2023
@hannojg
Copy link
Member

hannojg commented Aug 14, 2023

@Montchy I believe the issues they are facing are legit, and we actually need to fix the library code.
I will reopen this issue for further investigation.

Could you @DavideSegullo please provide a minimal reproduction? That would help with fixing this issue as fast as possible 😊

@hannojg hannojg reopened this Aug 14, 2023
@DavideSegullo
Copy link
Author

@Montchy I believe the issues they are facing are legit, and we actually need to fix the library code. I will reopen this issue for further investigation.

Could you @DavideSegullo please provide a minimal reproduction? That would help with fixing this issue as fast as possible 😊

Hi @hannojg thank you for your reply, you can find it here.

Just run:

pnpm android

@Montchy
Copy link

Montchy commented Aug 16, 2023

@DavideSegullo, yeah sorry my mistake, thanks for noticing :)

@boorad
Copy link
Collaborator

boorad commented May 12, 2024

The example app is working fine at RN 0.72.7. If 0.7.0-rc.X release candidates of this library do not solve this problem, please reopen this issue.

@boorad boorad closed this as completed May 12, 2024
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

9 participants