Google-map work on emulator but doesn't on real device

google maps android api v2
google play console
google maps extensions android
google maps console
google maps development android
google maps api
google map android sdk api
google maps api key android studio

I applied the exact steps as mentioned in the google developer doc to create an example google map project and everything went fine on the emulator, but when I generated the project apk file and launched it on real device Samsung Galaxy S4 google map doesn't show up it shows only a blank background with just colored Google logo appearing on the left lower screen corner !!

What could be the problem? Plz Help.

It is working on emulator on debug mode because you are using the Google Map Api key which is register with your debug.keystore file. To access Google Map into the real device you have to generate the Google Map key using the keystore file which you are using to generate the apk file.

Google Maps showing on emulator, but not on a device, As said above, the app works perfectly in the AVD, but no way to make it work on a real device. It shows just an empty map placeholder, and also� I am new to android programming and have been having a lot of trouble with it. I finally got my app to work in the emulator on both API 23 and 16 my target is API 16. It runs with no problems on the emulators but when I try to use it on my phone (Google Nexus 5 API 23)

Did you installed Google Setting App on your mobile.

Check this

Google Maps API v2 does NOT works on Emulator, but NOT on Device, This --->(Google Maps API v2 - Fragment's error) The app works on the emulator (it shows the "This app won't run unless you update Google Play Services),� I wrote a simple application that is able to deployed on None-Google-Map API emulator, and detect presence of Google API problematically. What I did was I specifying <uses-library android:name="com.google.android.maps" android:required="false" /> (but android "required" attribute only works for 2.1 and doesn't work for 1.6.

You will get .keystore or .jks file while generating signed APK.In fact using that you have to create the finger print for your application which is later used to generate Android Key in Google developer console.

Now what you have to do is use the command to generate the SHA-1 certificate fingerprint

 keytool -list -v -keystore "path_to_jks_file.jks" -alias androiddebugkey -storepass android -keypass android

In that path_to_jks_file.jks you should give the path of your .jks file that you got when generating signed APK.

And get your android key from google developer console then add it in manifest

And remember to add the signing configuration to your build.gradle

signingConfigs {
        release {
            storeFile file("myreleasekey.jks")
            storePassword "password"
            keyAlias "MyReleaseKey"
            keyPassword "password"
        }
    }

Signing your application

Visit for clarification.

An elaborated explanations Signup and API Keys

AFAIK these information's good enough for resolving your issue.tell me if any further.

Google launches Android Studio 3.6 with Google Maps in the , Your browser does not currently recognize any of the video formats available. Google Maps is now integrated right into the Android Emulator find bugs with automatic memory leak detection for Fragments and Activities. 1. Here is screenshot of the emulator. What I did: I tried on both minimum SDK version of API : Android 4.4 and 8.0 but both doesn't work. I tried on Nexus4, 5 and Pixel 2 but all of them didn't work. (Nexus4 can specify Emulated Performance: Graphics but Google Play Services doesn't work on the device.)

It's important to remember that Build Releases debug and release mode often have different (.xml) values file. if you are using a Linked Resource File (eg: Google_maps_api.xml) to manage your Maps Api Key, you need to update both files with their appropriate keys.

Keys must be signed using the same procedure as described above ( using your .jks keystore file ..etc )

Get Started | Maps SDK for Android, Start a new Google Maps project for your Android app today. Follow the guides to download and install Android Studio. The full process for getting an API key: If neither of the above options works for your situation, see Get an API Key. When choosing your emulator, ensure that you use Android 4.2.2 or higher, and be� Google Maps Not Working On Android 2017 | How To Fix: If your problem is Google Maps not working on Android, then you have come to the right place!. It can be super frustrating when any app decides not to work but Google Maps you need it to get your from point A to point B and usually immediately.

Select Current Place and Show Details on a Map, Android Studio invokes Gradle to build the app, and then runs the app on the device or on the emulator. You should see a map with a number of markers centered� The emulator that comes with Android Studio swallows up lots of resources on your development computer. If you’re like a lot of developers and don’t always have the latest, most powerful hardware, you may have trouble running apps in the emulator. If, after five minutes or so, you don’t see Android’s home screen and you […]

Run apps on the Android Emulator, To work with Android 8.1 (API level 27) and higher system images, an attached in Google Maps and then send a location, the map shows it. The Android Emulator doesn't include virtual hardware for the following:. Before installing any Google Maps alternative on your Android phone, it would be better if you try to fix the application. In Android, there are a number of fixes you can attempt to make Google Maps work again. (1) Reboot your phone. Restarting your phone can resolve most of the technical issues with your phone.

Emulator 29.2.12 Stable: Google Maps UI, This is meant for app developers who develop apps that interface with device location. Google Maps UI makes it easier to specify locations and� Now that we’re over this, let’s move on to the actual work. Here’s how to clear the Google Maps cache in Android: Go to Settings > Apps Manager (as explained above). Find Google Maps and tap it. Tap Clear cache. If clearing the cache doesn’t resolve the problem, you can also try with clearing data altogether.

Comments
  • hope your net connection is fine
  • Did you generated signed APK ?
  • net connection is fine
  • Yes – Anoop I generated a signed APK file
  • Ok nice how will I do that?
  • Not sure I think not, how to do that?
  • check this Link stackoverflow.com/questions/3410475/…
  • I created new project for google map I created new .jks file for the project and created store and key pass and alias then I extracted the SHA1 from cmd java bin I went to dev.google.com/console created new project then enabled google maps android API then created API key from Credentials pasted this API key in place in google_maps_api.xml in my project updated the signingConfigs release with the .jks file path and alias and two passwords. then generated signed APK from Android Studio then transferred the app-release.apk to real device then installed it same problem google map NOT showing