Google Awareness API, Invalid API key, Crash

前端 未结 5 2085
轮回少年
轮回少年 2021-01-18 21:15

This is my first attempt at creating an android application. In trying to use the Awareness API provided by Google I receive a SecurityException in logcat, and the error:

5条回答
  •  一个人的身影
    2021-01-18 21:35

    It seems like your API_KEY is set up incorrectly in the AndroidManifest: note that the right package name is

    "com.google.android.awareness.API_KEY"

    and not

    "com.google.awareness.API_KEY"

    as you seem to have it. See https://developers.google.com/awareness/android-api/get-started

提交回复
热议问题