Rename the package name .apk

I am trying to install WhatsApp.apk twice on my Android. I already got readable androidmanifest.xml using apktool . I heard that I need to change the package name in this xml and I can install the application. In fact, it does not block anymore when I change the package name, but it fails during installation. Therefore, I think there are other files where I need to change the package name.

Is there a way to import a project into Eclipse so that it changes the names of the packages, or how can I completely change the name of the package com.whatsapp in all files to another? Or: do you have a simpler solution to install 2 whatsapp on one device?

+4
source share
1 answer

You can change the name of small small files ... open all small files in notepad ++ replace com/whatsapp with com/yourpackagename

Do the same in androidmanifest.xml and replace com.whatsapp with com.urpackagename

Repeat the same for the layout folder

0
source

Source: https://habr.com/ru/post/1389723/


All Articles