Apktool: Manifest not compile

Created on 27 Dec 2017  路  7Comments  路  Source: iBotPeaches/Apktool

Information

  1. Apktool Version (apktool -2.3.1) -
  2. Operating System (Windows) -
  3. APK From? (Other) -

Hello, i decode apk with new option,
apktool.jar d -s -r --force-manifest test.apk

and after change manifest and build with command
apktool.jar b D:\\test

app build success, manifest not compile,
how can i compile manifest ?

Feature

Most helpful comment

Not possible without some changes to the codebase. Moving to Feature Request

All 7 comments

There is no support to individually compile/build an AndroidManifest.xml file. You can currently decode it (as-is), but you cannot build just that file.

This would be a feature request, which might not be possible as resources would be in the compiled state and thus not able to be read the resources needed for building a manifest file. Let me look into it.

Not possible without some changes to the codebase. Moving to Feature Request

I have this use case too. Will be nice if this feature be implemented.

it's very nice if this feature be implemented, most of the time we only want to add android:debuggable="true" in to "application" label

Any progress ? @iBotPeaches

@lkdevil Sorry no progress. Bugs tend to get priority over features and I have about 150 of them.

This is not possible and won't be. Apktool needs to decode resources, otherwise we will have resourceIds everywhere and that won't work. Sorry.

Closing.

Was this page helpful?
0 / 5 - 0 ratings