com.google.android.gms.auth.GoogleAuthException: UNREGISTERED_ON_API_CONSOLE

后端 未结 4 1978
情书的邮戳
情书的邮戳 2020-12-09 11:29

Im implementing an android app that enables users to stream to a youtube channel straight from the app. I have created an API key and a OAuth 2.0 client ID

But I ge

4条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 11:47

    I've this problem, and after a lot of search, in build.gadle my applicationId was diferent from the package name that i've putted on Google Console

    defaultConfig {
        applicationId "br.com.glicado.glicado" <-- WAS WRONG, IN MY CASE THE RIGHT IS "br.com.glicado"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
    }
    

提交回复
热议问题