How can I update the version of an APK which I did not create myself

后端 未结 3 1997
抹茶落季
抹茶落季 2021-02-06 12:58

I am new to Android development. I am using a x-platform development tool which builds and signs the APK for me. This tool has a bug and it does not generate APK\'s with the ver

3条回答
  •  野的像风
    2021-02-06 13:36

    It should be possible; previously I've changed an existing APK's package name without access to the source.

    However, you will probably need (and I don't have any more specific guides to hand):

    • a hex editor
    • a guide to the APK file format
    • a way of calculating the APK checksum

    You need to unzip the APK, alter the (binary-packed) AndroidManifest.xml, alter the checksum in the resources.arsc (I think) and then re-zip the APK.

    Actually, in searching for a couple of these resources, I came across apktool, which sounds promising.

提交回复
热议问题