1

I am new to android app development and trying to upload an app to the Google Play console, an app which has already been uploaded to another Google Play console account. Now I want to deploy the application to the client's account, I unpublished the the app from the current account.

Now when I try to upload the application to the client's console I get this error:

You need to use a different package name because "com...***" already exists in Google Play.

I have tried to change the application's package name multiple times by following the below link:

Android Studio Rename Package

However, it still shows the same error.

Michael Dodd
  • 10,102
  • 12
  • 51
  • 64
shabbir saif
  • 21
  • 1
  • 1
  • 2

4 Answers4

3
You need to use a different package name because "com...***" already exists in Google Play.

When you create a new project in Android Studio, the applicationId exactly matches the Java-style package name you chose during setup. However, the application ID and package name are independent of each other beyond this point.

Solutions

It will be better if you change your applicationId from build.gradle

android{
    defaultConfig {
        applicationId "" //cahnge here
        minSdkVersion //
        targetSdkVersion //
        versionCode // //increse verssion
        versionName "" //increse verssion
    }

}

After that clean-rebuild-run.

FYI

Your app signing key is used to verify your identity as a developer and to ensure seamless and secure updates for your users, managing your key and keeping it secure are very important, both for you and for your users.

  • You should create a new jks file.
IntelliJ Amiya
  • 74,896
  • 15
  • 165
  • 198
0

you need to change the application id inside gradle

PlayStore checks application id of apps. this should be unique,

android{
    defaultConfig {
        applicationId "com.****.****" //cahnge this
        minSdkVersion 15
        targetSdkVersion 27
    }

}

After this Sync the project . Then

1- Goto build >> Generate Signed Apk

2- Create new key store path 

3- Then enter keyStorePassword and Key Password and Create new APK
Ali Ahmed
  • 2,130
  • 1
  • 13
  • 19
0

changing application ID worked for me

android {
    defaultConfig {
        applicationId "" 
    }
}
Kelvin Schoofs
  • 8,323
  • 1
  • 12
  • 31
-1

Open your project in android-studio and then refactor your package name to another name. if your package name has a familiar name like com.company or com.name or etc , probably you face this problem again.use a unique name

Ali Khaki
  • 1,184
  • 1
  • 13
  • 24
  • sorry. but it isn't package name that matters, he needs to change application id in build.gradle. – Ali Ahmed Oct 22 '18 at 10:24
  • @AliAhmed i write several project in android-studio and didnt see diffrent between package name and applicationId !. but you can change applicationId without change package name – Ali Khaki Oct 22 '18 at 10:33