Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to keep two versions of an app installed?

Tags:

android

I have two branches of the same master

version1
version2

I would like to be able to have both versions of the same app installed on my phone at the same time, without them overwriting each-other.

Is it possible?

Thanks

like image 239
the_prole Avatar asked Apr 27 '17 23:04

the_prole


People also ask

Can you have two versions of the same app?

Parallel Space Parallel Space is a pioneer in the app cloning niche and is based on multiDroid, the first and fastest Android virtualization system. You can use it to create two versions of an app with separate data files, so both versions run independently.

Can you have 2 of the same apps on Samsung?

Dual Messenger is an exclusive feature for dual-SIM Galaxy models that lets you clone certain social apps to use two different accounts at the same time. It's a great option if you have separate accounts for work, school, family, and your public persona.


1 Answers

Yes. It is possible.

Change the package name in your Android manifest or app build.gradle.

Example:

Application version 1

app build gradle:

defaultConfig {
        applicationId "com.example.application.appone"
        ...
              }

manifest file:

<manifest
    package="com.example.application.appone">

Application version 2

app build gradle:

defaultConfig {
        applicationId "com.example.application.apptwo"
        ...
              }

manifest file:

<manifest
    package="com.example.application.apptwo">
like image 112
ADimaano Avatar answered Oct 11 '22 12:10

ADimaano