私は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 ?
システムアプリケーションはodexedされています。つまり、抽出し、別々に保持し、アプリケーションのいくつかの重要な部分がFramework.jarに保持されています。あなたがあなたの携帯電話にあなたの新たにコンパイルされたアプリケーションをコピーしたい場合は、最初にデオデックスしなければなりません。そして、必ず古い/system/settings.odexファイルを削除してください。それ以外の場合は機能しません。
通常、何かがうまくいかない場合は、古いsettings.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 cndgn.com All Rights Reserved. Q&Aハウス 全著作権所有