官术网_书友最值得收藏!

Common problems and solutions

Common problems and their solutions are as follows:

  • java.lang.RuntimeException: The API key is not found—Logcat.

    Your application will crash before opening. This is caused because the API key is not found in manifest.

    To fix this, add the API key to AndroidManifest.xml

  • Authorization failure—Logcat: Your application will display an empty map on opening. This is caused because you have entered an invalid API key. You may have missed some strings in the key.

    To fix this, enter the API key without missing anything

  • This application will not run unless you update Google Play services: This error is caused because you are using a lower version of Google play services than the version you used in your application.

    If you are using a physical device, you can fix this error by updating the Google Play services version. If you are using an emulator with the Google API, the only way to update is from the SDK Manager.

主站蜘蛛池模板: 青海省| 通江县| 阿合奇县| 西华县| 宜宾市| 筠连县| 包头市| 临海市| 南平市| 南皮县| 肥乡县| 桑植县| 翁牛特旗| 蕉岭县| 乌兰察布市| 客服| 宝兴县| 黄平县| 介休市| 榕江县| 和田县| 永丰县| 秦安县| 山阳县| 二连浩特市| 九江县| 万州区| 禄丰县| 天全县| 密云县| 泰兴市| 上饶县| 滕州市| 北宁市| 厦门市| 吴川市| 苍溪县| 巴里| 宣恩县| 老河口市| 泗水县|