0

I have a project up and running what I want to do it's to rename that project, package, applicationID to something different on Android Studio 2.1 I have tried with all links below:

Android Studio Rename Package https://stackoverflow.com/a/29092698/2001610 Change project name on Android Studio Change project name on Android Studio

Trying with all those links I got the following errors:

"build.config and R files are not getting generated "

and the

Error:Execution failed for task ':app:processDebugGoogleServices'. No matching client found for package name 'com.example.project'

Community
  • 1
  • 1
  • 1
    Possible duplicate of [Android Studio Rename Package](http://stackoverflow.com/questions/16804093/android-studio-rename-package) – Bo Persson Mar 20 '17 at 20:35

2 Answers2

0

Those links are correct, so maybe you are not doing something properly. Check that the package name, and the name package name that appear in the AndroidManifest and Gradle are the same.

SamuelPS
  • 555
  • 6
  • 20
-1

follow this steps to change Package name: Click on setting icon

Untick Compact Empty Middle Packages

Right Click on (com,example,example) each on click on it right click and choose

Refactor --> Rename then lick ok

Mostafa Abobakr
  • 81
  • 2
  • 11