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

About 64bit problem. #504

Closed
binqiangsun opened this issue Jul 30, 2015 · 1 comment
Closed

About 64bit problem. #504

binqiangsun opened this issue Jul 30, 2015 · 1 comment

Comments

@binqiangsun
Copy link

As I upgraded fresco from 0.4.0 to 0.6.0, a problem with "nativeLibraryDirectories=[/data/app/com.lukouapp-1/lib/arm64, /vendor/lib64, /system/lib64]]] couldn't find "libweibosdkcore.so" encounted, when I used 64bit phones. The libweibosdkcore.so is another module library. I checked the lib directory:
0.4.0:
image

0.6.0:
image

I doubt that my problem is caused by 0.6.0 added some 64bit files, as I rolled back to 0.4.0 version is ok. why did fresco add some 64 bit library?

@michalgr
Copy link
Contributor

There is no libweibosdkcore.so in arm64-v8a directory. When your app is installed Android unpacks libs from the most appropriate directory and those libs can be loaded at run time. In case of 64bit devices it selects arm64-v8a (or x86_64) and if some of the libraries is not there then you won't be able to load it.

64bit devices, however, should be able to run 32bit libs. Just make sure that arm64-v8a and x86_64 are not included in your apk. See here: #458

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

2 participants