Google Map does not display in Android?

i am trying to run google map tutorial using following link http://mobiforge.com/developing/story/using-google-maps-android

followed all steps but when i try to run this application it does not display anything except boxes and zooming button

can any one guide is there any thing i am missing?? i have obtained new google map key from google website too.


Asked by: Anna626 | Posted: 25-01-2022






Answer 1

finally i got my answer,

i had not created MD5 Certificate thats why it was showing only boxes after create MD5 certificate everything is working fine.. :D the procedure is given below.......

keytool.exe -list -alias androiddebugkey -keystore D:\Androidkeystore\debug.keystore -storepass android -keypass android

if you have not set environment variables for java in your machine then above command wont work or you will have to go to the bin directy of your java folder in program files to run above command.

by copy pasting debug.keystore file from builtin folder to user friendly folder and ran it.

and finally i got the md5 certificate.

Answered by: Julian551 | Posted: 26-02-2022



Answer 2

yup this is a symptom of not having a google maps api key for your application.

As I'm sure your aware you can find everything you need here for obtaining a google maps api key.

Answered by: Rebecca677 | Posted: 26-02-2022



Similar questions

eclipse - android display lots of text

I have a recipe like page that has loads of text. Multiple lines of text that includes steps and all that. It's basical a recipe. Any way I need a way of displaying all this text because a text view just throws it all together and its just a big ugle block of words that no one can read. Any one know what to do?


adt - Android: Eclipse xml editor error can't display UI for layouts

i have this error that won't display the Graphical Layout from my xml editor... this is the message and the stack trace Message on the Error Log on my Eclispe activity_patient.xml: com.android.layoutlib.bridge.impl.binding.FakeAdapter cannot be cast to android.widget.BaseAdapter Stack Trace java.lang.ClassCastException: com.android.layoutlib.bridge.impl.binding.FakeAdapter...


android - Eclipse display all items from SQLite DB

I'm new in Android programming and I'm stucked with retreiving data from SQLite DB and displaying it in my app in TextView / ListView. I've tried on many ways, but I'm just running in circles.. Any directions are welcome! Thanks. Main.java: public void LoadIngredient1() { TestAdapter mDbHelper = new TestAdapter(this); mDbHelper.createDatabase(); mDbHelper.open(); /...


android - Is there a way to display the actual number instead of hex value in R.Java inside eclipse?

Hi I accidentally deleted my android project and I am trying to rebuild the app by de-compiling my apk file. The thing now is the generated class files have all the resource values shown in numbers(eg:2130837504 instead of R.drawable.ic_launcher). So to make it more readable, I need to find the actual resource and remap these values. But in the R.java all the values are displayed in Hexadecimal format which makes it hard w...


eclipse - Display pdf within android app with revise option

I want to display pdfs in an android application when some buttons are clicked. And i want to revise those pdfs weekly for maintenance purposes (alike we do in google drive). As I don't want users to download new apk for a new pdf. Currently I am displaying pdfs using google drive. But users are not comfortable with opening up webpage for each pdfs. Is there any way to display pdf within android app...


eclipse - Android: How to display Q&A Radio Button when user clicks a map marker

I'm new to Android developing and I'm a GIS/Maps guy so to keep me interested I thought I'd focus on using Google Maps to create a kind of quiz. I had an idea to have a Google Map display a bunch of Markers around an area and then when the user taps a Marker, a question will pop up (Radio Button?) with multiple answers and then the right answer will be displayed after the user clicks one of the options (toast?).


eclipse - how to display lyric while song is playing android?

I have some songs and their lyric. now I want to display lyric while song is playing. but i don't how to do this. i read some topic like this but they are not clear to me. is there any tutorial for that? I should read a ".lrc" file and search for time stamp how to use them? I think I can put this time sta...


eclipse - Android Google Map Addon not available?

i am trying to display google map on Android refering to this tutorial http://developer.android.com/resources/tutorials/views/hello-mapview.html when i go to google website to download addon it says addons are not available kindly guide what should i do to achieve this??


eclipse - how to put Search on Google map in Android?

i am looking to put search on google map in android application can any one guide me how to achive this??? and want to display some text along with that perticular search location. any help would be appriciated.


Eclipse for android on Debian Lenny

I have installed Eclipse on Debian Lenny after having installed java (apt-get install sun-java6-jre sun-java6-plugin sun-java6-jdk). When I run Eclipse, I have the following message when it comes to selet the folder that will be used as the workspace: GCJ has been detected as the current Java virtual machine. Use of GCJ is untested and unsupported. Please consult the documentation for more


Eclipse launch error when trying to run an Android app

I'm trying to set up my workstation for Android development with Eclipse Galileo. I installed the latest ADT plugin and the Android SDK, but I get this error when I try to run any basic Android project I create. eclipse.buildId=M20090917-0800 java.version=1.6.0_17 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.pac...


java - Can't run JUnit 4 test case in Eclipse Android project

I am new to Java and am trying to run a unit test on a class I am writing. Eclipse (3.5) created the unit test class for me and added Junit4 to my class path. My Class: public class DistanceUtil { public static double metersToMiles( double meters ) { return 0; } public static double metersToKilometers( double meters ) { return 0; } } My unit test: publi...


JavaDoc in an Eclipse Android Project

In our Android project, our code is JavaDoc'd and that generates everything properly. However, any reference to the Android API classes/functions results in a JavaDoc error and a link to the relevant information is not generated. Instead we get plaintext class names. How can we set up Eclipse to turn these into links to the online Android API reference (preferably) or a local copy (if necessary)?


eclipse - Why doesn't logcat show anything in my Android?

Why doesn't logcat show anything in my Android (while developing apps with Eclipse)? It just doesn't print anything. It's empty.


eclipse - Android Device Chooser -- device not showing up

I'm using Eclipse + ADT, and my physical device (listed below) is unlisted on Android Device Chooser. I have updated Eclipse and all of the Android packages. My phone is running Android OS 1.6, which corresponds to the target version listed in the Eclipse Project. Also, the reason I decided to try testing on a real device is because the emulator doesn't seem to be working right anymore when I run my project. The e...


How to avoid Eclipse leaks on XServer when editing Android XML files?

When I'm editing XML files in Eclipse (mainly, Android layouts and so), it causes leaks on XServer and it ends eating all my RAM (4GB), so I have to Ctrl+Alt+Backspace to continue. Do you know any remedy for that?


Which Eclipse for Android?

Should I use 32-bit Eclipse or 64-bit Eclipse for Android development? Im on a MacBook Pro (Core 2 Duo). Does it matter which version for Android coding?






Still can't find your answer? Check out these communities...



Android Google Support | Android Community | Android Community (Facebook) | Dev.io Android



top