Couldn't Get Connection Factory Client - Fighting with Google Maps

Couldn't get connection factory client - fighting with Google Maps

E/MapActivity(394): Couldn't get connection factory client 

This will not be issue in your case. It's just warning message.

For using Map,things you need to Keep in mind :

1.Add internet permission in Manifest file

    <uses-permission android:name="android.permission.INTERNET" />

2.Add Library code in Manifest file :

 <uses-library android:name="com.google.android.maps" /> 

  1. Extend Map Activity instead of Activity also ensure that your SDK is Google not Android

  2. Then generate Map Key using Release Key and not by using Default Android Debug key
    Check this post for creating Key using Release Key.

For further references check this link Mobi Forge

Output of your code

Cant get Geopoints to add to google map due to; Couldn't get connection factory client

If you have generated these keys recently, you will not get your results, because API v1 is deprecated and won't work.

You may want to switch to Maps API v2: https://developers.google.com/maps/documentation/android/

Don't try to use your old code, because new API doesn't share any code with API v1.

Couldn't get connection factory client. API key is working

I have found the problem in my particular situation. And its a dumb situation as I get it.

I still could not get rid of the "Couldn't get connection factory client" problem (in one of the sources I actually read stated that this message was a bug and should be ignored in most cases. Most of the time the problem is smthing else.)

My "actual" problem was simply putting in GeoPoints in wrong format. I first did it it like:

GeoPoint point = new GeoPoint(19.2,-99.1);

and obviously it was wrong way of putting it. The numbers are expected to be bigger according to the documentation. So I used the following and it worked...

GeoPoint point = new GeoPoint(19240000,-99120000);

Sorry for the misleading question. But I ll leave it here. Maybe smo else would have the same problem.

Couldn't get connection factory client after re installing OS

First time I have made MD5 finger print with jk6
but after re installing my Operating System I made MD5 finger print with jdk7.
whatever again re installing OS I have made MD5 finger print with jdk6 now this time api key is working fine but still getting "Couldn't get connection factory client" in Log cat.

May be for this reason it was not working.

Getting Gray squares instead of Google map in my android app

As I mentioned in the comment, that's not an error and neither is linked with your problem.

You should check that you're following the guide of the new Android Maps, also check that your api key is well written.


EDIT: You can also check this post for more info.



Related Topics



Leave a reply



Submit