Error Creating json project configuration file for Implementing GCM Client on Android

前端 未结 4 1230
甜味超标
甜味超标 2021-01-26 20:17

I am trying to get gcm working in my app. It is my job to update the app from the Eclipse build to the Android studio build. In the Android Studio build it no longer works to ju

相关标签:
4条回答
  • 2021-01-26 20:33

    Turns out the form just won't accept periods in the application name. I am unsure why periods are acceptable in the application name within my build then.

    Anyway, I will leave this question up here in case someone else runs into this problem because the error message is soooooooo vague.

    0 讨论(0)
  • 2021-01-26 20:43

    Just found out a moment ago that creating a client ID for the app in developer console project removes this error and allows the config file to be created...

    Developer console projects
    APIs & auth
    Credentials
    Create new client ID:
      Installed application
      Android
      Enter package name
      Enter SHA1 for RELEASE OR DEBUG (which ever one you want it to work with)
      Make deep linking choice
      Create
    

    Then went back to the page and it works. Could be other stuff in the console that you need to do but idk as I already have other stuff set up.

    0 讨论(0)
  • 2021-01-26 20:43

    And for me the solution was as simple as:

    1. logout from Firebase
    2. log in to Firebase
    0 讨论(0)
  • 2021-01-26 20:46

    I got the same issue while logging to google using multiple accounts.

    Just login using single account and problem will be solved

    0 讨论(0)
提交回复
热议问题