Android-Pre-installed (push) lib64 in so file lookup errors

Source: Internet
Author: User

So file lookup error in pre-installed (push) lib64


This address: Http://blog.csdn.net/caroline_wendy


The Android system has been upgraded to a 64-bit system, and 64-bit incompatibilities may occur when pre-installed (ADB push) because 64-bit so files are not compiled beforehand.

Add 64-bit ABI support:

App_abi=all32 is equivalent to App_abi=armeabi,armeabi-v7a,x86,mips. App_abi=all64 is equivalent to APP_ABI=ARM64-V8A,X86_64,MIPS64.

No 64-bit so file found:
E/androidruntime (5043): Java.lang.unsatisfiedlinkerror:dalvik.system.pathclassloader[dexpathlist[[zip file "/ system/app/chunyudoctor_v500_20150123.apk "],nativelibrarydirectories=[/vendor/lib64,/system/lib64]] couldn ' t Find "libcytool.so"

has been found, but is non-64-bit:
Logsummaryinfo: {apkname, Me.chunyu.ChunyuDoctor}{version, 5.0.0.20150126}{reason, Java.lang.UnsatisfiedLinkError: Dlopen failed: "/system/lib64/libcytool.so" is 32-bit instead of 64-bit}

Pre- compile the 64-bit so file and add it to the appropriate 64-bit folder , which can be pushed to a 64-bit folder when preinstalled (adb push) .

Reference: Http://stackoverflow.com/questions/24538343/ndk-build-for-target-x86-64-results-in-error

Android-Pre-installed (push) lib64 in so file lookup errors

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.