我已经编译了android源代码并获得settings.apk现在我想知道我可以在手机上安装该应用程序吗?当我尝试这样做的时候,我的手机说"无法安装应用程序" 我可以做什么来安装该应用程序?
我已经编译了android源代码并获得settings.apk现在我想知道我可以在手机上安装该应用程序吗?当我尝试这样做的时候,我的手机说"无法安装应用程序" 我可以做什么来安装该应用程序?
I have compiled Android Source codes and get settings.apk now I wonder can I install that application on my phone ? When I try to do that my phone say "CAnnot install application" what can I do to install that application ?
系统应用程序是ocexed,这意味着它提取并保持分开的代码部分,并且应用程序的某些关键部分也保持在Framework.jar中。如果要将新建的应用程序复制到您的手机,您必须首先脱充它,才能恢复丢失的部分,只有您可以用新文件替换/ ystem/settings.apk。请确保删除旧/ ystem/settings.odex文件,否则它将无法正常工作。
通常,建议保存旧设置.Apk / odex文件,以防出现问题。
System application are odexed, which means the code part it extracted and kept separate and also some crucial parts of the application are kept in framework.jar. If you want to copy your freshly-compiled application to your phone, you have to deodex it first, which restores the missing parts and only then you may replace /system/Settings.apk with your new file. And, please, make sure you delete old /system/Settings.odex file, otherwise it won't work.
As usually, it's recommended to save old Settings.apk/odex files just in case when something goes wrong.
© 2022 it.wenda123.org All Rights Reserved. 问答之家 版权所有