dex2908
Lurker
I'm having problem upgrading my app to 64 bit. I've already upgraded my previous React Native version to 0.59.3. Which is includes 64 bit but when I tried to run in my device, the app crashed.
The error i got is:
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libimagepipeline.so caused by: dlopen failed: "/data/data/...../lib-main/libimagepipeline.so" is 64-bit instead of 32-bit
So from the error, it means android doesn't know how to choose the correct bit? The only solution to prevent the crash, is to use the following configuration:
packagingOptions {
exclude "lib/arm64-v8a/libgnustl_shared.so"
exclude '/lib/mips64/**'
exclude '/lib/arm64-v8a/**'
exclude '/lib/x86_64/**'
}
Which of course will get warning message from google because there are no 64bit codes in my apk. So how can I solve this problem?
The error i got is:
java.lang.UnsatisfiedLinkError: couldn't find DSO to load: libimagepipeline.so caused by: dlopen failed: "/data/data/...../lib-main/libimagepipeline.so" is 64-bit instead of 32-bit
So from the error, it means android doesn't know how to choose the correct bit? The only solution to prevent the crash, is to use the following configuration:
packagingOptions {
exclude "lib/arm64-v8a/libgnustl_shared.so"
exclude '/lib/mips64/**'
exclude '/lib/arm64-v8a/**'
exclude '/lib/x86_64/**'
}
Which of course will get warning message from google because there are no 64bit codes in my apk. So how can I solve this problem?