0
package com.abhimathgame.shubham.mindsharp;

In build.gradle in manually change the package name

 defaultConfig {
    applicationId "com.abhimathgame.shubham.mindsharp"
    minSdkVersion 19
    targetSdkVersion 26
    versionCode 1
    versionName "1.0"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    vectorDrawables.useSupportLibrary = true
}

And after that i sync the gradle but it return error and whrn is use

applicationId "com.example.shubham.mindsharp"

it ok but not publish on Playstore Error Image for more help

2 Answers2

0

Make sure your package name is same at all the places. Also if you have added google-services.json file from firebase in your project make sure the packagename added there is correct. Hope this is helpful.

Kinjal Rathod
  • 499
  • 4
  • 12
0

Try first of all to update google service to the most recent version. Also do you use flavors?

Also could be that you re using New Relic as indicated in this post? It is referring to this tutorial where is explained exactly the nature of the issue:

the google_services.json must reside in the root of your :app module and not within a buildType/productVariant folder, so Gradle cannot handle this automatically for you via folder placement.

trocchietto
  • 2,607
  • 2
  • 23
  • 36