通过RunTime安装apk,出现32位apk在64位设备不能安装问题
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
网友评论