通過RunTime安裝apk像街,出現(xiàn)32位apk在64位設(shè)備不能安裝問題
LD_LIBRARY_PATH=/vendor/lib:/system/lib pm install -r /apkpath
CANNOT LINK EXECUTABLE "/system/bin/sh": "/system/lib/libc++.so" is 32-bit instead of 64-bit
解決:
LD_LIBRARY_PATH=/vendor/lib:/system/lib32 pm install -r /apkpath