Thanks for the great video. Unfortunatelly, I keep getting the gray grid. Watched all your related videos and read every information given at android developer website (and other website/tutorials etc.). Still couldn't get rid of this problem.
I have started to think that debug key generated by keytool might be wrong or api key is somehow problematic. (I am using JRE 1.6).
Could you suggest anything to get this sample map app. up and running in the emulator?
Thanks for the great video. Unfortunatelly, I keep getting the gray grid. Watched all your related videos and read every information given at android developer website (and other website/tutorials etc.). Still couldn't get rid of this problem.
I have started to think that debug key generated by keytool might be wrong or api key is somehow problematic. (I am using JRE 1.6).
Could you suggest anything to get this sample map app. up and running in the emulator?
@Mazen1hz I have an idea what it could be. I had a similar problem today. I think you will have jre7 like I have and not jre6 as the video shows.
Type this in at the start "keytool -list -v -alias" etc etc with the rest that is shown in the video. You should now receive the correct certificate.
Tip: also if you browse to the folder c:\program files\java\jre7\ and hold down shift, right click over bin folder, and select "Open Command Window Here". It's the fastest way to get going.
I had done everything like the video but it only shows grids.
I'm usin api 2.1 and java 7.
My certificate's MD5 fingerprint have 20 values and yours only 16. If i use the 20 values on google page it returnes invald fingerprinte but if i remove the last 4 it work's. But still only grids...
@29SMike i have the same problem. instead of getting the md5 fingerprint with the 16 digits, I get a SHA1 fingerprint with 20 digits that doesnt work. any ideas???
Hi Travis!!Thanks a lot and for your valuable help and congratulations for your work in general! I followed your instructions to obtain the debug key and set up my map activity.But I'm always getting the same errors in the logcat..To be more specific, "Couldn't get connection factory client" , "Failed to find provider info for com.google.settings" and "Failed to find provider info for android.server.checkin" Do you have any ideas of what's going wrong?? I would be really grateful for any help!!!
I would like to add that the map is properly displayed in the emulator and no errors are reported in the code by eclipsee everything seems fine. The program just displays the map and uses the gps service to animate to new points according to the device's movement by implementing the location listener.
Since following this tutorial, my application will not install on my phone but it did before this (The problem I was having was the grey squares thing, although I did get the compass from the next tutorial working).
Thanks a lot... all of your vedios have helped me a lot to get ma prjct wrkng...
again thanks a lot...
do you know about how to run and create map of inside a building as an application on android??? means instaed of using already created map by GOOGLE... cn we make 1 of our own???? if u know nythng about it then plz plz plz help me.....
Hey travis thanks for the videos. Understanding a lot. Can u tell me how to draw a path between 2 GeoPoints on a map. Will be really halpfull if u can teach us that. Badly need for my col project. Thanks.
Hi Travis. First of all great thanks for your videos. Simple, informative and easy to work with. But as always some small issues appears.
I watched videos from 28 till 31 several times and to be honest created project step by step several times.
I see only grey field with zoom buttons and the word "google", but - I gave Internet permitions - standart gmap app in droid simulator works - inet search on simulator works.
@NewAndyful hey man, did you make sure you use the internet permission in the manifest? Google Maps seems to be tricky for a ton of people, and I hope to cover it again soon on my other channel and fix some of these errors. When I first started working with the api I was going bald because it was making me rip my hair out haha, but then I launched up eclipse the next day and randomly I didn't have gray tiles anymore. Sorry I can't be of more help at the moment :(
@sureshknv1 I had a similar issue with the "mapViewStyle" failure error. The project worked well but after I added an additional icon.png image to the res/drawable folder and proceeded to clean the project (Project >> Clean) so that the file would be visible in the current project I received the same error as you. I found that the cleaning process sometimes adds an import statement to the top of your project ( import android.r;) which overrides your R.java file. Delete this "import android.r".
If you are developing in Eclipse/ADT (and have set up Keytool as described above in Basic Setup for Signing), signing in debug mode is enabled by default. When you run or debug your application, ADT signs the .apk with the debug certificate, runs zipalign on the package, then installs it on the selected emulator or connected device. No specific action on your part is needed, provided ADT has access to Keytool.( from the api page :(
Thanks Travis..I am learning A LOT from you man..I am building an app for my masters thesis in engineering..still waiting for your vids on OpenGL ES..
And as for the google maps app it did work for me after using the debug.keystore thing in this tutorial..before that it only gave me the grid thing..thanks again!
you can either just rightclick anywhere on screen and select mark. Then press CTL+C to copy (CTL+X to cut) and then either right click or press CTL+P to paste.
- or (my favorite)
Right click command prompt title bar > Properties > under "Options" tab check "QuickEdit Mode" .
This will allow you to block out text with left click and press right click to copy and then right click paste.
I posted this on another video, but I'll post here as well. You can copy the MD5 value from the command prompt by right-clicking anywhere in the command prompt and selecting Mark. Then you can double-click the MD5 value and it is then copied to your clipboard.
This has been flagged as spam show
Hello Travis,
Thanks for the great video. Unfortunatelly, I keep getting the gray grid. Watched all your related videos and read every information given at android developer website (and other website/tutorials etc.). Still couldn't get rid of this problem.
I have started to think that debug key generated by keytool might be wrong or api key is somehow problematic. (I am using JRE 1.6).
Could you suggest anything to get this sample map app. up and running in the emulator?
Thanks a lot,
androidgirlistanbul 1 week ago
Hello Travis,
Thanks for the great video. Unfortunatelly, I keep getting the gray grid. Watched all your related videos and read every information given at android developer website (and other website/tutorials etc.). Still couldn't get rid of this problem.
I have started to think that debug key generated by keytool might be wrong or api key is somehow problematic. (I am using JRE 1.6).
Could you suggest anything to get this sample map app. up and running in the emulator?
Thanks a lot,
androidgirlistanbul 1 week ago
Why does it only work with the debug key and not our own?
Is there a way to get it to work using our own key?
Thanks for the tutorial, you're a champ!
Hathspider 3 weeks ago
after installing 1.6 JDK got it 2 work
Crni03 1 month ago
After debugging I got rid of gray tiles, but now I only get grayish blue screen. Still no map =(
I've tried all solutions and nothing works.
I'm testing my app on HTC Wildfire S with no results.
Getting an error:
MapActivity - Couldn't get connection factory client
Hope there will be a fix to this bug soon!
psyhest 1 month ago
thanks a lot , i have done it at last after working for 1 month,,,
sikandernawaz 1 month ago
Comment removed
sikandernawaz 2 months ago
Comment removed
rmjgeek 2 months ago
Hey..
Thank you very much for the tutorial.. You saved us a lot of time and Pain..
This is your first video i watched... Now i am probably going to see the rest too..
Thank You once again...
theroshaan 3 months ago
Hello,
I try to do what you're doing but instead of getting a MD5 certificate i get a SHA1 certificate which google doesn't recognize as valid.
any ideas of what the problem might be?
Thanks
Mazen1hz 3 months ago
@Mazen1hz I have an idea what it could be. I had a similar problem today. I think you will have jre7 like I have and not jre6 as the video shows.
Type this in at the start "keytool -list -v -alias" etc etc with the rest that is shown in the video. You should now receive the correct certificate.
Tip: also if you browse to the folder c:\program files\java\jre7\ and hold down shift, right click over bin folder, and select "Open Command Window Here". It's the fastest way to get going.
Surfxeo 2 months ago
Thanks a lot!! i have done! So great !!!
dnncntt 4 months ago
Comment removed
rubbae09 4 months ago
Thanks!!It worked, what I did:Z
get a new fingerprint having the -storepass and -keypass set with "android" (without quotes) And no -alias alias.
When I did this, the new fingerprint displayed had extra info that the first time didn't:
"... Keystore type: JKS
Keystore provider: SUN
Your keystore contains 1 entry
androiddebugkey, Aug 16, 2011, PrivateKeyEntry,
Certificate fingerprint (MD5): A0..."
MmmaryCiminieri 5 months ago
Hi,
My program is working now :)
I like your this video it's very very nice.
Thanks a lot.
Ullah
ullahsd 5 months ago
I am getting grids and a point only. I am getting this error "main.xml: Failed to find style 'mapViewStyle' in current theme
Could anyone solve this problem.
MrSri1983 5 months ago
@MrSri1983 why do you have "mapViewStyle" in there? it should only be mapView,
rubbae09 4 months ago
Hi travis,
I had done everything like the video but it only shows grids.
I'm usin api 2.1 and java 7.
My certificate's MD5 fingerprint have 20 values and yours only 16. If i use the 20 values on google page it returnes invald fingerprinte but if i remove the last 4 it work's. But still only grids...
Any idea?
Regards
Mike
29SMike 5 months ago
@29SMike i have the same problem. instead of getting the md5 fingerprint with the 16 digits, I get a SHA1 fingerprint with 20 digits that doesnt work. any ideas???
dmer15 3 months ago
@dmer15 You need to use the 1.6 version of JDK, not the 1.7. It should be looked up up Java SE 6 I believe.
Silverblade89 3 months ago
Comment removed
Crni03 1 month ago
am unable to use net on my android emulater plz help me out
nigamsuyash 6 months ago
i created a mapview project and it work perfect on my emulator
but when i installed that apk for my phone(galaxy s2) it shows only grids
any reasons.. please help
ishanssi 6 months ago
everything is fine here now, thanks a lot!
now I'll try to add a double click feature to zoom in...
iahsiucahusichais 6 months ago in playlist Android Tutorials: For Apps & Game Development
Hi Travis!!Thanks a lot and for your valuable help and congratulations for your work in general! I followed your instructions to obtain the debug key and set up my map activity.But I'm always getting the same errors in the logcat..To be more specific, "Couldn't get connection factory client" , "Failed to find provider info for com.google.settings" and "Failed to find provider info for android.server.checkin" Do you have any ideas of what's going wrong?? I would be really grateful for any help!!!
cybershot1987 7 months ago
I would like to add that the map is properly displayed in the emulator and no errors are reported in the code by eclipsee everything seems fine. The program just displays the map and uses the gps service to animate to new points according to the device's movement by implementing the location listener.
cybershot1987 7 months ago
Since following this tutorial, my application will not install on my phone but it did before this (The problem I was having was the grey squares thing, although I did get the compass from the next tutorial working).
Mupple 7 months ago
Thanks a lot... all of your vedios have helped me a lot to get ma prjct wrkng...
again thanks a lot...
do you know about how to run and create map of inside a building as an application on android??? means instaed of using already created map by GOOGLE... cn we make 1 of our own???? if u know nythng about it then plz plz plz help me.....
thegoldengirl5689 7 months ago
Hey travis thanks for the videos. Understanding a lot. Can u tell me how to draw a path between 2 GeoPoints on a map. Will be really halpfull if u can teach us that. Badly need for my col project. Thanks.
pandit163 8 months ago
Hi Travis. First of all great thanks for your videos. Simple, informative and easy to work with. But as always some small issues appears.
I watched videos from 28 till 31 several times and to be honest created project step by step several times.
I see only grey field with zoom buttons and the word "google", but - I gave Internet permitions - standart gmap app in droid simulator works - inet search on simulator works.
The same problem with real and debug key.
Any ideas.. thanks a lot...
NewAndyful 8 months ago
@NewAndyful hey man, did you make sure you use the internet permission in the manifest? Google Maps seems to be tricky for a ton of people, and I hope to cover it again soon on my other channel and fix some of these errors. When I first started working with the api I was going bald because it was making me rip my hair out haha, but then I launched up eclipse the next day and randomly I didn't have gray tiles anymore. Sorry I can't be of more help at the moment :(
CornboyzAndroid 8 months ago
I have this problem: Failed to find style ‘mapViewStyle’ in current theme at Main.xml
sureshknv1 8 months ago
@sureshknv1 I had a similar issue with the "mapViewStyle" failure error. The project worked well but after I added an additional icon.png image to the res/drawable folder and proceeded to clean the project (Project >> Clean) so that the file would be visible in the current project I received the same error as you. I found that the cleaning process sometimes adds an import statement to the top of your project ( import android.r;) which overrides your R.java file. Delete this "import android.r".
david3165 5 months ago
gmaps works for me now, but only with the debug key :?
SaxeGotha 8 months ago
Eclipse Users
If you are developing in Eclipse/ADT (and have set up Keytool as described above in Basic Setup for Signing), signing in debug mode is enabled by default. When you run or debug your application, ADT signs the .apk with the debug certificate, runs zipalign on the package, then installs it on the selected emulator or connected device. No specific action on your part is needed, provided ADT has access to Keytool.( from the api page :(
Defenestrayte 9 months ago
I have this problem: Failed to find style 'mapViewStyle' in current theme at Main.xml
chapukun 9 months ago
me too.
battalaykut 9 months ago
@chapukun did u get a soln for ur prob???
ishan1728 8 months ago
This has been flagged as spam show
Bam its working :) Many Thanks
jobchapter31verse1 10 months ago
Thanks Travis..I am learning A LOT from you man..I am building an app for my masters thesis in engineering..still waiting for your vids on OpenGL ES..
And as for the google maps app it did work for me after using the debug.keystore thing in this tutorial..before that it only gave me the grid thing..thanks again!
mechidsh 10 months ago
This has been flagged as spam show
Just FYI shortcut in command prompt.
you can either just rightclick anywhere on screen and select mark. Then press CTL+C to copy (CTL+X to cut) and then either right click or press CTL+P to paste.
- or (my favorite)
Right click command prompt title bar > Properties > under "Options" tab check "QuickEdit Mode" .
This will allow you to block out text with left click and press right click to copy and then right click paste.
Thanks for videos Travis you rock!
cxfurni1 11 months ago
Comment removed
cxfurni1 11 months ago
Thanks man!
hmartirosyan 11 months ago
Thank you! :D
elmejorpadresito 11 months ago
Working perfectly. Thx again for this tutorial :)
Keep them coming!
wrecko5 11 months ago
thnx alot...its working wonderfully
incredible008 11 months ago
solved
projectrok 11 months ago
lol "dots on top of themselves" you've said this before. They're colons ;)
Great series by the wya
rufusmccooter 11 months ago
@rufusmccooter sweet thanks again rufus! I should probably have you edit my videos lol
CornboyzAndroid 11 months ago
@CornboyzAndroid
Thank you soooooooooooo much!!!!!!!!!!!!!!!!!!!!!! I read so many tutorials, but yours is the best!!!!!!!!!!
zahara114 10 months ago
I posted this on another video, but I'll post here as well. You can copy the MD5 value from the command prompt by right-clicking anywhere in the command prompt and selecting Mark. Then you can double-click the MD5 value and it is then copied to your clipboard.
rufusmccooter 11 months ago
Thankx man :). Works great now
abolkog 11 months ago