I just begin to learn Android .take 4 days to try work maps view but not work .that error Unfortunately the app has stopped
相关问题
- How can I create this custom Bottom Navigation on
- Illegal to have multiple roots (start tag in epilo
- Bottom Navigation View gets Shrink Down
- How to make that the snackbar action button be sho
- Listening to outgoing sms not working android
For google map to work add below lines to your manifest -
and import google play service library to your workspace.
There are some things you need to check:
1.
Is the SHA1 fingerprint is ok that you have registered ingoogle api console
.For how to find it , you can find it here2.
The generatedapi_key
must be same with themenifest
.3.
Name of the app in api console must be same with the name of app instrings.xml
.4.
meta-data
must have to be included inmenifest
.I recommend you to follow this link.It is awesome and it will take just 1 hour for you to map working.