KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need to update my package id used in the AndroidManifest.XML that is compiled into a resources.arsc file for my Android application (.apk) without decompiling the resources.arsc. The android aapt tool includes the option to update (-u) as well as rename the package id in the manifest.xml and the rest of the project (--rename-manifest-package && --rename-intrumentation-target-package). Being able to update or output the resources.arsc without first decompiling is very important. I have a replacement AndroidManifest.XML with new id ready to go as well. I have provided the terminal "usage" doc below for reference. Im not sure if im misunderstanding the docs or if its just a lack of understanding the required syntax to be used in the terminal (tried both DOS and UNIX). Thanks in advance! Usage: aapt l[ist] [-v] [-a] file.{zip,jar,apk} List contents of Zip-compatible archive. aapt d[ump] [--values] WHAT file.{apk} [asset [asset ...]] badging Print the label and icon for the app declared in APK. permissions Print the permissions from the APK. resources Print the resource table from the APK. configurations Print the configurations in the APK. xmltree Print the compiled xmls in the given assets. xmlstrings Print the strings of the given compiled xml assets. aapt p[ackage] [-d][-f][-m][-u][-v][-x][-z][-M AndroidManifest.xml] \ [-0 extension [-0 extension ...]] [-g tolerance] [-j jarfile] \ [--min-sdk-version VAL] [--target-sdk-version VAL] \ [--app-version VAL] [--app-version-name TEXT] [--custom-package VAL] \ [--rename-manifest-package PACKAGE] \ [--rename-instrumentation-target-package PACKAGE] \ [--utf16] [--auto-add-overlay] \ [-I base-package [-I base-package ...]] \ [-A asset-source-dir] [-G class-list-file] [-P public-definitions-file] \ [-S resource-sources [-S resource-sources ...]] [-F apk-file] [-J R-file-dir] \ [raw-file
Tags (comma-separated)
Save Edits
Cancel