android pm install error

2020-03-26  本文已影响0人  To_HG

通过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
上一篇下一篇

猜你喜欢

热点阅读