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