“Package name already exists in Google Play”: how to fix it
Why the Play Console rejects your package name, even when no app with it is live, and how to change it in Android Studio, Flutter, React Native and Expo.
You upload your first build to the Play Console and get: “You need to use a different package name because “com.example.app” already exists in Google Play.” Here is why it happens and how to get past it in a few minutes.
Why the package name is taken
- Every app on Google Play has a unique package name (its application ID). No two apps can share one.
- Package names are reserved for good once any developer uploads a build with them, including apps that were never published, were unpublished, or were deleted.
- So the name can be taken even when searching Google Play finds nothing.
The fix: change the application ID
You don’t need to rename your code’s packages. Google Play only looks at the applicationId your build declares. Change it, rebuild and upload again. Use a reversed domain you own, like com.yourcompany.appname, and you won’t clash with anyone.
| Project type | Where to change it |
|---|---|
| Android Studio (Kotlin/Java) | applicationId in app/build.gradle or app/build.gradle.kts |
| Flutter | applicationId in android/app/build.gradle |
| React Native (bare) | applicationId in android/app/build.gradle |
| Expo | android.package in app.json or app.config.js, then rebuild |
Before you pick the new one
If the name was taken, the app name itself may be crowded too. Check the App Store, Google Play and the domains before you commit, or run the full check to do all of them at once.
Questions people ask
Can I get a package name back after deleting my app?
No. Google Play never reuses package names, even from your own deleted apps.
Do I have to rename the Java or Kotlin packages in my code?
No. Only the applicationId matters to Google Play. The code namespace can stay as it is.
Does the package name have to match my app name?
No. Users barely see it. It only has to be unique and follow the format: at least two dot-separated segments, each starting with a letter.
Is this the same as the iOS bundle ID?
It’s the Android equivalent. iOS has its own version of this error in Xcode; see our fix for it.
Check your own name
Domains, both app stores, bundle IDs and every live site using the name, in under a minute.
Check a name