其中,当从Android设备的apk安装的应用程序路径.so文件将被复制 [英] In which path .so file will be copied when application installed from .apk in Android Device

查看:578
本文介绍了其中,当从Android设备的apk安装的应用程序路径.so文件将被复制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道在哪条路径.so文件时,从Android设备的apk安装的应用程序将被复制?并且是有可能取代,与其他的.so(新版)?

May I know In which path .so file will be copied when application installed from .apk in Android Device?. And is it possible to replace that with other .so(new version)?.

请注意:我一直在使用亚行的shell在/系统/库检查,但未能发现有

Note: I have checked in /System/Lib using adb shell, but could not found there.

感谢和问候,

希夫

推荐答案

如果您的应用程序依赖于本地共享库,他们将被安装在 /数据/应用-lib中/<您的应用>
这被链接到 /数据/数据​​/<您的应用> / lib目录运行4.2.0的设备上。是的,如果你重新打包APK辞职它是一个选项,你可以用它来替换.so文件。

If your app depends on native shared libraries they will be installed in /data/app-lib/<your-app> which is symlinked to /data/data/<your-app>/lib on a device running 4.2.0. Yes, if you repackage the apk and resign it that is one option you could use to replace the .so file.

希望有所帮助。

这篇关于其中,当从Android设备的apk安装的应用程序路径.so文件将被复制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆