Search code examples
androidapkdecodeapktool

Only change permissions in an apk and republish on playstore


Recently Google has asked me to remove one permission (SEND_SMS) from my android app and republish it. The problem is that I got this prebuilt app from some company and now they are asking for extra amount for only changing this permission. During initial purchase also I had told them not to include but they kept it. Now I want to edit android menifest by removing the permission for SEND_SMS, rebuild and sign the app and publish.Please note that I don't have the source code of the project, but my work I believe is only limited to android menifest. Is it even possible? if yes, How?

Thanks, Abdul Wahid


Solution

  • If you still have the keystore, then you can use apktool to decompile the APK, modify the manifest to increase the versionCode and remove that permission, then recompile it (still using apktool). Finally, re-sign the APK with apksigner using the keystore you have and publish the modified APK to Play Console.