When uploading a bundled version of your Android app to Google Play Console, you might need to change your Package Name / Application ID to satisfy Google Play Console rules.
If you are getting an error like the following (or something similar)
You need to use a different package name because "com.***.***.***" already exists in Google Play
Then try out the following steps.
- In VSCode go to the Search
- Enter your current Package Name / Application ID in the search text input.
NOTE: If you don't know what's your current Package Name / Application ID, you can find it within the
android/app/build.gradle file, in the
applicationId field. In my case, the current Package Name / Application ID is
- Enter the path to your
androiddirectory in the
files to includetext input.
In my case my
android directory lives under
projectrootdir/apps/mobile/android yours could be different,
This will display all the instances of the string
- Use the "Replace" text input to replace your current Package Name / Application ID for the new one.