Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Google Map is Not Working in Android Emulator.  RSS feed

 
Kishor Joshi
Ranch Hand
Posts: 674
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi there

I am trying to Run google Map on Android Emulator But Map is Not Working.I mean Google Map is displaying in Fragment But there is Not any Markers that I place in My Code.

This is My activity class



And this is My LogCat

09-07 23:47:59.396: I/CheckinService(1467): Preparing to send checkin request
09-07 23:47:59.396: I/EventLogService(1467): Accumulating logs since 1410148020195
09-07 23:48:00.606: I/GoogleHttpClient(1467): Falling back to old SSLCertificateSocketFactory
09-07 23:48:00.606: I/GoogleHttpClient(1467): Using GMS GoogleHttpClient
09-07 23:48:03.406: I/GoogleHttpClient(1758): Falling back to old SSLCertificateSocketFactory
09-07 23:48:03.606: D/dalvikvm(1758): GC_FOR_ALLOC freed 456K, 16% free 2887K/3408K, paused 31ms, total 31ms
09-07 23:48:06.396: I/CheckinTask(1467): Sending checkin request (2178 bytes)
09-07 23:48:06.446: E/CheckinTask(1467): Checkin failed: https://android.clients.google.com/checkin (request #0): java.net.UnknownHostException: Unable to resolve host "android.clients.google.com": No address associated with hostname
09-07 23:48:06.446: W/GoogleHttpClient(1467): Unable to close GMS GoogleHttpClient
09-07 23:48:06.766: E/ActivityThread(1467): Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2017828 that was originally bound here
09-07 23:48:06.766: E/ActivityThread(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2017828 that was originally bound here
09-07 23:48:06.766: E/ActivityThread(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:48:06.766: E/ActivityThread(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:48:06.766: E/ActivityThread(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:48:06.766: E/ActivityThread(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:48:06.766: E/ActivityThread(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:48:06.766: E/ActivityThread(1467): at gbc.<init>(SourceFile:99)
09-07 23:48:06.766: E/ActivityThread(1467): at gay.<init>(SourceFile:226)
09-07 23:48:06.766: E/ActivityThread(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:48:06.766: E/ActivityThread(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:48:06.766: E/ActivityThread(1467): at xs.<init>(SourceFile:175)
09-07 23:48:06.766: E/ActivityThread(1467): at bkt.a(SourceFile:226)
09-07 23:48:06.766: E/ActivityThread(1467): at bks.a(SourceFile:298)
09-07 23:48:06.766: E/ActivityThread(1467): at bks.doInBackground(SourceFile:288)
09-07 23:48:06.766: E/ActivityThread(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:48:06.766: E/ActivityThread(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:48:06.766: E/ActivityThread(1467): at java.lang.Thread.run(Thread.java:841)
09-07 23:48:06.816: E/StrictMode(1467): null
09-07 23:48:06.816: E/StrictMode(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2017828 that was originally bound here
09-07 23:48:06.816: E/StrictMode(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:48:06.816: E/StrictMode(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:48:06.816: E/StrictMode(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:48:06.816: E/StrictMode(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:48:06.816: E/StrictMode(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:48:06.816: E/StrictMode(1467): at gbc.<init>(SourceFile:99)
09-07 23:48:06.816: E/StrictMode(1467): at gay.<init>(SourceFile:226)
09-07 23:48:06.816: E/StrictMode(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:48:06.816: E/StrictMode(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:48:06.816: E/StrictMode(1467): at xs.<init>(SourceFile:175)
09-07 23:48:06.816: E/StrictMode(1467): at bkt.a(SourceFile:226)
09-07 23:48:06.816: E/StrictMode(1467): at bks.a(SourceFile:298)
09-07 23:48:06.816: E/StrictMode(1467): at bks.doInBackground(SourceFile:288)
09-07 23:48:06.816: E/StrictMode(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:48:06.816: E/StrictMode(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:48:06.816: E/StrictMode(1467): at java.lang.Thread.run(Thread.java:841)
09-07 23:49:20.738: I/CheckinService(1467): Preparing to send checkin request
09-07 23:49:20.838: I/EventLogService(1467): Accumulating logs since 1410148079687
09-07 23:49:21.268: D/dalvikvm(1467): GC_FOR_ALLOC freed 515K, 16% free 3548K/4188K, paused 65ms, total 65ms
09-07 23:49:21.508: I/GoogleHttpClient(1467): Falling back to old SSLCertificateSocketFactory
09-07 23:49:21.508: I/GoogleHttpClient(1467): Using GMS GoogleHttpClient
09-07 23:49:21.948: I/GoogleHttpClient(1758): Falling back to old SSLCertificateSocketFactory
09-07 23:49:22.538: I/CheckinTask(1467): Sending checkin request (2175 bytes)
09-07 23:49:22.578: E/CheckinTask(1467): Checkin failed: https://android.clients.google.com/checkin (request #0): java.net.UnknownHostException: Unable to resolve host "android.clients.google.com": No address associated with hostname
09-07 23:49:22.578: W/GoogleHttpClient(1467): Unable to close GMS GoogleHttpClient
09-07 23:49:22.738: E/ActivityThread(1467): Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b20e9b60 that was originally bound here
09-07 23:49:22.738: E/ActivityThread(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b20e9b60 that was originally bound here
09-07 23:49:22.738: E/ActivityThread(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:49:22.738: E/ActivityThread(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:49:22.738: E/ActivityThread(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:49:22.738: E/ActivityThread(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:49:22.738: E/ActivityThread(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:49:22.738: E/ActivityThread(1467): at gbc.<init>(SourceFile:99)
09-07 23:49:22.738: E/ActivityThread(1467): at gay.<init>(SourceFile:226)
09-07 23:49:22.738: E/ActivityThread(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:49:22.738: E/ActivityThread(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:49:22.738: E/ActivityThread(1467): at xs.<init>(SourceFile:175)
09-07 23:49:22.738: E/ActivityThread(1467): at bkt.a(SourceFile:226)
09-07 23:49:22.738: E/ActivityThread(1467): at bks.a(SourceFile:298)
09-07 23:49:22.738: E/ActivityThread(1467): at bks.doInBackground(SourceFile:288)
09-07 23:49:22.738: E/ActivityThread(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:49:22.738: E/ActivityThread(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:49:22.738: E/ActivityThread(1467): at java.lang.Thread.run(Thread.java:841)
09-07 23:49:22.808: E/StrictMode(1467): null
09-07 23:49:22.808: E/StrictMode(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b20e9b60 that was originally bound here
09-07 23:49:22.808: E/StrictMode(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:49:22.808: E/StrictMode(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:49:22.808: E/StrictMode(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:49:22.808: E/StrictMode(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:49:22.808: E/StrictMode(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:49:22.808: E/StrictMode(1467): at gbc.<init>(SourceFile:99)
09-07 23:49:22.808: E/StrictMode(1467): at gay.<init>(SourceFile:226)
09-07 23:49:22.808: E/StrictMode(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:49:22.808: E/StrictMode(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:49:22.808: E/StrictMode(1467): at xs.<init>(SourceFile:175)
09-07 23:49:22.808: E/StrictMode(1467): at bkt.a(SourceFile:226)
09-07 23:49:22.808: E/StrictMode(1467): at bks.a(SourceFile:298)
09-07 23:49:22.808: E/StrictMode(1467): at bks.doInBackground(SourceFile:288)
09-07 23:49:22.808: E/StrictMode(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:49:22.808: E/StrictMode(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:49:22.808: E/StrictMode(1467): at java.lang.Thread.run(Thread.java:841)
09-07 23:50:22.889: I/CheckinService(1467): Preparing to send checkin request
09-07 23:50:22.889: I/EventLogService(1467): Accumulating logs since 1410148160851
09-07 23:50:23.379: I/GoogleHttpClient(1467): Falling back to old SSLCertificateSocketFactory
09-07 23:50:23.379: I/GoogleHttpClient(1467): Using GMS GoogleHttpClient
09-07 23:50:24.829: I/GoogleHttpClient(1758): Falling back to old SSLCertificateSocketFactory
09-07 23:50:25.769: D/dalvikvm(1467): GC_FOR_ALLOC freed 488K, 15% free 3567K/4188K, paused 198ms, total 198ms
09-07 23:50:26.189: I/CheckinTask(1467): Sending checkin request (2171 bytes)
09-07 23:50:26.229: E/CheckinTask(1467): Checkin failed: https://android.clients.google.com/checkin (request #0): java.net.UnknownHostException: Unable to resolve host "android.clients.google.com": No address associated with hostname
09-07 23:50:26.229: W/GoogleHttpClient(1467): Unable to close GMS GoogleHttpClient
09-07 23:50:26.439: E/ActivityThread(1467): Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2009bb8 that was originally bound here
09-07 23:50:26.439: E/ActivityThread(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2009bb8 that was originally bound here
09-07 23:50:26.439: E/ActivityThread(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:50:26.439: E/ActivityThread(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:50:26.439: E/ActivityThread(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:50:26.439: E/ActivityThread(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:50:26.439: E/ActivityThread(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:50:26.439: E/ActivityThread(1467): at gbc.<init>(SourceFile:99)
09-07 23:50:26.439: E/ActivityThread(1467): at gay.<init>(SourceFile:226)
09-07 23:50:26.439: E/ActivityThread(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:50:26.439: E/ActivityThread(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:50:26.439: E/ActivityThread(1467): at xs.<init>(SourceFile:175)
09-07 23:50:26.439: E/ActivityThread(1467): at bkt.a(SourceFile:226)
09-07 23:50:26.439: E/ActivityThread(1467): at bks.a(SourceFile:298)
09-07 23:50:26.439: E/ActivityThread(1467): at bks.doInBackground(SourceFile:288)
09-07 23:50:26.439: E/ActivityThread(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:50:26.439: E/ActivityThread(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:50:26.439: E/ActivityThread(1467): at java.lang.Thread.run(Thread.java:841)
09-07 23:50:26.589: E/StrictMode(1467): null
09-07 23:50:26.589: E/StrictMode(1467): android.app.ServiceConnectionLeaked: Service com.google.android.gms.checkin.CheckinService has leaked ServiceConnection gbd@b2009bb8 that was originally bound here
09-07 23:50:26.589: E/StrictMode(1467): at android.app.LoadedApk$ServiceDispatcher.<init>(LoadedApk.java:979)
09-07 23:50:26.589: E/StrictMode(1467): at android.app.LoadedApk.getServiceDispatcher(LoadedApk.java:873)
09-07 23:50:26.589: E/StrictMode(1467): at android.app.ContextImpl.bindServiceCommon(ContextImpl.java:1561)
09-07 23:50:26.589: E/StrictMode(1467): at android.app.ContextImpl.bindService(ContextImpl.java:1544)
09-07 23:50:26.589: E/StrictMode(1467): at android.content.ContextWrapper.bindService(ContextWrapper.java:517)
09-07 23:50:26.589: E/StrictMode(1467): at gbc.<init>(SourceFile:99)
09-07 23:50:26.589: E/StrictMode(1467): at gay.<init>(SourceFile:226)
09-07 23:50:26.589: E/StrictMode(1467): at java.lang.reflect.Constructor.constructNative(Native Method)
09-07 23:50:26.589: E/StrictMode(1467): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
09-07 23:50:26.589: E/StrictMode(1467): at xs.<init>(SourceFile:175)
09-07 23:50:26.589: E/StrictMode(1467): at bkt.a(SourceFile:226)
09-07 23:50:26.589: E/StrictMode(1467): at bks.a(SourceFile:298)
09-07 23:50:26.589: E/StrictMode(1467): at bks.doInBackground(SourceFile:288)
09-07 23:50:26.589: E/StrictMode(1467): at android.os.AsyncTask$2.call(AsyncTask.java:288)
09-07 23:50:26.589: E/StrictMode(1467): at java.util.concurrent.FutureTask.run(FutureTask.java:237)
09-07 23:50:26.589: E/StrictMode(1467): at java.lang.Thread.run(Thread.java:841)



And This is My Emulator Defination

Phone_Test2
Nexus S(4.0,480*800hdpi)
Google API(x86 System Image)
Intel Atomx86
HVGA
RAM:500MB
VM Heap:16
Internal Storage:200
SD Card:50


I have added all Jars and Permisiion in Manifest.Application is Working fine on Android Powerd Mobile Phone But Not on Android Emulator
any guess?



Thanks
 
Do you want ants? Because that's how you get ants. And a tiny ads:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!