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
"dlopen failed" error with API level 21 and 22 on 64-bit devices #228
Comments
|
Sorry, I forgot to provide this information The version I used is as follows:
List of devices with problems: Emulators are created using the latest version of the image in android studio |
No problem with the same apk on api 24 and above. What is the minimum api version supported by chaquopy 7.0, |
Thanks for the information. The minimum API level for chaquopy 7.0 is still 16. However, it looks like we have a problem loading native libraries in 64-bit processes before API 23. Android added 64-bit support in API 21, so 21 and 22 are the only ones affected. You can work around this bug by removing the 64-bit ABI from your build.gradle file. However, Google Play now requires 64-bit support, so in order to release your app there you'd have to build multiple APKs and set the 64-bit APK's minSdkVersion to 23. On an emulator, you can also work around it by using an x86 image rather than x86_64. |
Thanks for your help, the problem has been solved after removing the 64-bit support |
This issue is fixed in Chaquopy version 7.0.3. All packages now work on 64-bit ABIs as far back as API level 21, except for TensorFlow, which gives the following error:
We'll fix this the next time we upgrade TensorFlow (#374). |
Complaining that libjpeg_chaquopy.so is not found when importing opencv-contrib-python on android api 22
The text was updated successfully, but these errors were encountered: