Why doesn't apktool decrypt versionCode and versionName?

I am using apktool using the following command

apktool decode "[APK PATH]" 

For some reason, the decoded androidmanifest.xml does not contain the versionCode and versionName . I know that they are in the source file, because if I open the encoded file, I see the attribute in the middle of the ciphertext.

I need to check if the version of Code is updated automatically using gradle after implementing some code for this.

+5
source share
1 answer

it is saved in another file. as I recall, some extension with .yml. when re-encoding a package, the apktool command uses this file for the Code version

+13
source

Source: https://habr.com/ru/post/1208675/


All Articles