Welcome back.
Now let's create our project in Android Studio to get the package name and the Sha one certificate from
our application, click New Project, select Empty Compose Activity next and name the app maps app package
name I o master coding dot maps API.
By the way, I'm preparing this website to make it my my own website and put my courses and lectures,
tutorials, ebooks presentations on this website.
Also the Save location API 24.
Kotlin DSL 20 DSL okay, click finish.
Wait for Android Studio.
Copy the package name, paste it here.
Then we need to get the Sha one certificate.
The A one secure hash algorithm.
One fingerprint is a unique cryptographic identifier for your Android apps signing key.
It ensures security and identification.
Security verifies your app's authenticity when using Google APIs, maps, Firebase, and etc..
Identification.
Google cloud uses it to restrict API keys to your app.
Why do you need a in Android for Google Maps API required to authenticate your apps API key?
How to get it.
We can go to Android Studio, click on Gradle and here we have this icon Execute Gradle task.
And here we need to set the signing report.
Select Signing Report and click enter.
You will get here inside the console.
Scroll up and you will get the SH1 code.
Copy it and go back to here Paste and Restrict key.
Here we go.
We have the key and enabling API so you can Select the enable APIs.
Click on enable APIs button if it is not enabled and complete profile.
Also, you can edit Profile Preview APIs and explore more.
Also, you can add more more SDKs, more APIs, but for now we are good.
Click on preview APIs and you'll get this screen.
Here we have web, Android iOS.
We are interested in Android.
Select the Product Maps SDK or places SDK.
We are interested in the maps SDK.
You can see set up guide and others.
But we are good.
We have created our project.
We get the API key and we restrict this API key to our application.
So there is no need to make security or just add this one security key and your package to restricted
on Google Maps Console.