Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why apktool is not decoding versionCode and versionName?

I'm using apktool using the following command

apktool decode "[APK PATH]"

For some reason the decoded androidmanifest.xml doesn't contain attributes versionCode and versionName. I know they are there on the original file since, if I open the encoded file, I can see the attribute in the middle of the encrypted text.

I need to verify if the versionCode is automatically updated by gradle after implementing some code to do this.

like image 636
StackOverflower Avatar asked Dec 09 '14 16:12

StackOverflower


1 Answers

it is saved to another file. as I remember, some extension with .yml. when you again encode the package, apktool command uses this file for versionCode

like image 166
Adem Avatar answered Oct 16 '22 06:10

Adem