Ranzit
Ranzit

Reputation: 1347

Duplicated Ionic android app not installing

I have developed android app with ionic framework and we have released in play store. After that we need a same clone of app. We duplicated that app & changed package name,app name , removed android platform and re-added and launched in playstore. Here I have a problem when I have first app installed from play store , second app which was released was not getting installed. Saying that

App not installed

Only one app is getting installed. When I uninstall first app and installed second one , it is getting installed. Following are changes I have made to duplicated app:

Can you please help in this

Upvotes: 1

Views: 390

Answers (1)

takrishna
takrishna

Reputation: 5002

1. Did you remove the app for all "Users" ?

Settings -> Apps -> Choose your app -> Menu -> "Uninstall for all Users"

Android supports multiple users - if an app is installed from local/play store then it installs/is replicated for other users say - "Guest users" - Remove app from the device for all users then you must have it work.

Android requires an Unique Package name to be able to install in parallel

2. Service defined with same namespace

Another possible reason could be that "you have some services defined with same namespace" - which apparently is the issue faced by this person

3. Changing the package name in Build.gradle

After setting applicationId in build.gradle, like this:

android { 
defaultConfig { 
applicationId "com.your.app.here" 
...
}

Upvotes: 2

Related Questions