How to Change Android Package Name Id Android Studio

Changing package name of an android app is explained here, it is not hard, however, you may face error in the google-services.json file, but it is an easy fix and is explained in this site

How to Change Android App Package Name?

To change Package name of an android app, go to the Project window, right click on the app, then select Open Module Settings,

Change version android


A new window will appear, select the Flavours tab in the window. this is where we will change the app package name

Change version code android

  1. Select Application Id in the list, and replace it with a new package name. for example. “com.myapp.new”
  2. Click Ok and wait until the gradle running finish.

If you meet the error Error:Execution failed for task ':app:processAllcategoriesDebugfreeGoogleServices'. No matching client found for package name 'com.my.app.package.name.debug' Visit this link Fix no matching client found error android




Related Posts

Fix Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources

Here is how to fix Plugin [id: ‘com.android.application’, version: ‘7.1.3’, apply: false] was not found in any of the following sources This error is caused by mismatching…

Get Age from Date of Birth in Java Android

Here is how to get a user’s age from date of birth If you need get a user’s age from a given date of birth string, this…

How to Check if String Array Contains a Specific String in Android

Here is how to get a specific value or String from Array in Android To check if a string array contains a specific string, you can use…

Make Android WebView Support Razorpay Payment

How to Support Razorpay Payment and UPI in Android WebView? Android webview is inexpensive and easy way to make apps for websites. But to support some specific…

Make Android Webview Support PayTM Google Pay PhonePe UPI

GooglePay, Phonpe and PayTM support in Android WebView If you have built an android app for your new ecommerce website or any other website that needs accept…

Comment