How change Google Analytics account in Android Studio

百般思念 提交于 2019-12-06 08:00:52
  1. Remove the Analytics library dependency compile 'com.google.android.gms:play-services-analytics:8.4.0' from your build.gradle. (manually, not from module settings)
  2. To avoid errors comment out Analytics related code.
  3. Do a gradle sync.
  4. Clean and build your project. [4.1. Just to be safe Do an invalidate cache and restart from file menu.]
  5. Go back to module settings and enable Analytics. (It should now ask for a login again.)
  6. Login with your new user
  7. Uncomment the code that you commented earlier.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!