- Learning Android Google Maps
- Raj Amal W.
- 164字
- 2021-07-09 21:54:31
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.
推薦閱讀
- HoloLens Beginner's Guide
- Raspberry Pi Networking Cookbook(Second Edition)
- Web交互界面設(shè)計(jì)與制作(微課版)
- 實(shí)用防銹油配方與制備200例
- Python Deep Learning
- 精通搜索分析
- RISC-V體系結(jié)構(gòu)編程與實(shí)踐(第2版)
- HTML 5與CSS 3權(quán)威指南(第3版·上冊(cè))
- The Professional ScrumMaster’s Handbook
- 一本書講透Java線程:原理與實(shí)踐
- JavaScript程序設(shè)計(jì):基礎(chǔ)·PHP·XML
- Swift語(yǔ)言實(shí)戰(zhàn)晉級(jí)
- Natural Language Processing with Python Quick Start Guide
- AI自動(dòng)化測(cè)試:技術(shù)原理、平臺(tái)搭建與工程實(shí)踐
- 計(jì)算機(jī)組裝與維護(hù)(第二版)