In this tutorial, you'll learn how to create a basic google maps app using google maps v2 plugin. Android Studio makes it all easier by making everything ready for you. You just have to create a key and copy it in the app. I will teach you how to do that in this tutorial. It will show only a fixed location near nigeria. In the next part, I will show you how to show your current location. #android #androiddev #googlemaps #tutorial
I am the new android developer and trying for few days to put the map in may app. But I could not this. this tutorial I ran, working properly and I hop it will fulfill my requirements. Thanks a lot....!
i am beginner of android studio and i am using android 2.1.1 version when i follow your tutorial so my MainActivity default code is different of your default code so what should i do.....plz help me
02:47 you can update login to your Google account in your AVD and then update Google Play Services, only if the image installed in your virtual device have playstore
for those wo cant load the maps (u can see only a google logo) : 1/ go to the AVD manager (tools --> android -->AVD Manager) 2/ Create Virtuel Device 3/choose Galaxy Nexus + chek Show downloable system images 4/ download the 86_64 windows version Android 5.1 (or less) (it must be with Google APIs) and it's work i think that the problem in Android 6.0 AVD version
for those who stuck with blank view 1.Login google developer console 2.Select Library option from left side panel. 3.Now you can see all API list and go to Google Maps APIs and select Google Maps Android API . 4.Now you can see option to enable/disable API. Enable it.
it is the best tutorials,but i have tried the code and it says ,,,unfortunately,apps has stopped,,,while running the codes.Can you help me why it show this mesage?
hello, want to ask. why there is error in R.id (i think) when i put the google map API key on the code? i occur these problem quite often, I don't know where the problem is. can you help me?
I am having error in the OnMapReadyCallback.class it gives me error and says Decompiled .class file, bytecode version: 51.0(java 7) and says choose sources and I dont know what to do so please help me.
Can you assist me on one thing. I am trying to animate map in my Map fragment. I want to rotate map in tilt view (45Degree) to give user a search experience. I change the Bearing by 120Degree (3 times in an order, on each camera animation finish) so Map rotates and complete 360Degree cycle. But there is an easing effect in each camera rotate start and ending point. How can I control that easing effect in animation, in order to make the animation linear (which will remove the jerks in animation, when camera is rotating around a center point). Please suggest.
when i start the app, if i chose a country then there wil be 2 marker the first marker and the newest ! i don't wanna have the previouse marker ! how can fixe it?
hi ma'am i am getting blank screen with google logo on the bottom of the screen . can you help me what can be wrong ? i have added the Api key and set min sdk to 17 and set all required permissions in manifest file . but i am still getting blank screen
i developed application of Google Map with the help of your videos.How can this app work without internet and How can i set location reminder of any place,location,any market,shops,university every place with ringtone alarm and vibration options using google map.kindly help me.i'm waiting.
Go to the Gradle module file and add this : "multidexenabled true" after a long sentence , it's on the 12th line or something like that hope this help you and sorry for english
I tried to run on my smartphone. There's no error on the code, but when i debug to show the map, only a blank screen is loaded with google sign in underscore. There's something that i need to do when i run on the device.please reply ASPA.
what if my application has already been set up and working ..with min api 15. and i dont want to change the minimum api level. will this work with it or not? i mean will it perform correctly on virtual device?
How to proceed after putting your key.. the 'R' in my setContentView(R.layout.activity_maps) is in color red and it just keeps getting errors when I run the 'app'
When I run the app as emulator, and use my phone device connected to my laptop, I continue to get a Google Play update error. Is there a way to resolve this?
I tried to run on my smartphone. There's no error on the code, but when i click on the button to show the map, only a blank screen is loaded with google sign in underscore. There's something that i need to do when i run on the device?? Thanks.
hi , i follow every step you had ask for and generated my key but when i run it on device or emulator both give me blank view with google written in the bottom.please help me out in this..
Login google developer console Select Library option from left side panel. Now you can see all API list and go to Google Maps APIs and select Google Maps Android API . Now you can see option to enable/disable API. Enable it.
hi. awesome vids...awesome awesome... Just 1 question. Can I put user location to my database? its like 99acer dot com . If you register to sale your property then they r showing a map,on their website,where you can drag and drop that marker/bellun on your property,then you may click submit botton. so that other people can exact property. is it possible? please tell.
How do you put the .apk file in your device and install it?? I know where to find the .apk file but where do I put it in my phone? Please help. Can you just tell me or make a video tutorial on how to do that? Thank you!!
MoeMixLOL You can just copy it from computer to your phone anywhere. Location doesn't matter. Then click on the apk file in your phone and it will get installed.
SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager() .findFragmentById(R.id.map); mapFragment.getMapAsync(this); try this. you dont need getMap() anymore :D
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 2
Hello I just get this problem! Error:Execution failed for task ':app:processDebugGoogleServices'. > Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.8.0. any solution? It just let my all project cant work !
Error:Execution failed for task ':app:dexDebug'. > com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 2 plez solve this
I get the error: Google Maps Android API﹕ Authorization failure. Please see developers.google.com/maps/documentation/android/start for how to correctly set up the map. But the steps they show are exactly the same you showed...
try to run in the mobile phone .. it will work fine ... if it still not working then follow the steps coorectly for getting the correct API key from google.. this will solve ur problem..
THE MOTHER FUCKING MAP IS NOT FUCKING SHOWIN IN MY FUCKING PHONE , IM OUT OF MY NERVS, BEEN TRYING TO FIX THIS SINCE 2 HOURS AND I CANT PROGRESS THIS WAY, FUCK ALL
Good place to start. Sample code generated by AndroidStudio seems to be updated a lot. The following link will help for beginners. github.com/googlemaps/android-samples
Error:The number of method references in a .dex file cannot exceed 64K. Learn how to resolve this issue at developer.android.com/tools/building/multidex.html Error:Execution failed for task ':app:transformClassesWithDexForDebug'. > com.android.build.api.transform.TransformException: com.android.ide.common.process.ProcessException: java.util.concurrent.ExecutionException: com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'C:\Program Files\Java\jdk1.8.0_60\bin\java.exe'' finished with non-zero exit value 2