![](https://downtips.com/wp-content/uploads/2024/01/2ozO9-1.png)
How is Google Maps showing in Android activity?
Admin
- 0
If you have not shown Google Maps on the entire screen in your Android app.
If you have a problem the Google Map does not display a map, only the Google logo in the bottom left corner.
![](https://downtips.com/wp-content/uploads/2024/01/jAcXL.png)
DownTips Gives you the best solution.
Here’s the solution.
You need to enable Google Maps API from Google Console for your project. Also, you need to download JSON files from the console.
1. Go to Google Console
2. click on your project.
3. Click on the library section from the left menu panel. see below image
![](https://downtips.com/wp-content/uploads/2024/01/YlP24.png)
- In Google Maps API, click on Google Maps Android API
- Then enable that.
- Now Goto Firebase console
- Click on your project go to project settings and download the JSON file.
- Add that JSON file to your application.
Here is the another solution:
- The Google Console has Keys like our projects and is also auto-created.
- But for the map-related task use only the following key.
- But, Further keep in mind, Enable all the Google map API.
- The Google Console Has a Key whose Name is
- **”Browser key (auto-created by Firebase)”**
![](https://downtips.com/wp-content/uploads/2024/01/zbaRd-1024x319.png)
Put this key in your project file in build.app as an “SERVER_KEY”
![](https://downtips.com/wp-content/uploads/2024/01/DEZsJ-1024x300.png)
Check the “Package Name and SHA-1 Key” added in a Key which we used for MAP function.
![](https://downtips.com/wp-content/uploads/2024/01/5wHBj.png)
Then your Map is Enabled.
![](https://downtips.com/wp-content/uploads/2024/01/2ozO9.png)
Why App crashing when using .setText – Kotlin in Android Studio