I would like to edit the Androidmanifest.XML file after packaging the Apk for strange reasons
For more info visit this post How to Exclude Devices with low RAM in Google play store
Please do explain if possible.It is an unsigned apk BTW.
I would like to edit the Androidmanifest.XML file after packaging the Apk for strange reasons
For more info visit this post How to Exclude Devices with low RAM in Google play store
Please do explain if possible.It is an unsigned apk BTW.
Try this under Linux:
cd tmp ; wget https://raw.githubusercontent.com/iBotPeaches/Apktool/master/scripts/linux/apktool
wget https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.4.0.jar
mv apktool_2.4.0.jar apktool.jar
mv apktool* /usr/local/bin
chmod a+x /usr/local/bin/apktool*
Then, you can decompile the APK with:
apktool d your-app.apk
Then, you can edit AndroidManifest.xml under the folder your-app generated by the previous command. Then, you can compile again with:
apktool b your-app
Then, you have to sign again you APP, you can use your own keystore (p.e generated by Android Studio), or create new one with the following procedure:
keytool -genkey -v -keystore keyStore.keystore -alias app -keyalg RSA -keysize 2048 -validity 10000
jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore keyStore.keystore your-app/dist/your-app.apk app
Finally you have your APK again. You can copy it from "your-app/dist/your-app.apk" file.
Hope that helps!
You can decompile your apk with apktool and your manifest will be readable. After editing your manifest you can compile and create apk again. Remember to sign you apk after creating new apk.