Job Assured Training at Felight, Bangalore
Home / Old Batches / [Kabali] Google Maps steps
[Kabali] Google Maps steps

[Kabali] Google Maps steps

Steps for genereating API key and restricting it to our app
in google cloud

2. create new project & go to libraries & enable Google Maps Android api and enable it
3. Go to Credentials & create credentials then choose API Key then copy the key generate keep for later use & then click on RESTRICT KEY, Under key restriction choose Android Apps, then click on add package with package name is same as you project package name and SHA-1 certificate fingerprint should be generate using below command

keytool -list -v -keystore mystore.keystore
where mystore.keystore is the file present in

Steps in our app
1. Open build.gradle (Module:app) file add below line in dependency
compile ‘’
sync project and make sure your project is error free

2. new > Google > GoogleMapsActivity
3. copy API key to google_maps_api.xml

About vinaynoah

I am no one. In fact there is no 1. I am you, I am no where and I am everywhere, If you are pure then u see the utter pureness in me, If you are ugly u will see the height of it in me. I am just your mirror. There is nothing I achieved and there is nothing to achieve. All is here at this moment, right here right now. Come and share my Joy. Lets celebrate :-)

Leave a Reply

Your email address will not be published. Required fields are marked *


Scroll To Top