Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to edit Androidmanifest.XML After packaging the APK?

Tags:

android

xml

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.

like image 577
Ram Kumar Avatar asked Oct 29 '13 16:10

Ram Kumar


People also ask

How do I edit AndroidManifest XML?

You can edit the XML manually by clicking on the AndroidManifest. xml tab. Android manifest files generally include a single <manifest> tag with a single <application> tag.

What is the purpose of AndroidManifest XML file?

Every app project must have an AndroidManifest. xml file (with precisely that name) at the root of the project source set. The manifest file describes essential information about your app to the Android build tools, the Android operating system, and Google Play.

Can we change the name of APK file?

Navigate to the folder in which your apk is present. In that folder select your APK file. Right-click on it and click on rename option to rename your APK file.

How do I change the manifest in APK?

To edit the apk, open explorer and navigate to the folder apktool is unzipped to, and open the folder with the name of your apk. Inside you'll find a bunch of folders and a file called AndroidManifest. xml. If you want to edit the icon, open res -> drawable.


1 Answers

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.

Similar question 1
Similar question 2

like image 164
Devrim Avatar answered Oct 23 '22 09:10

Devrim