Sunday, March 25, 2012

java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation

Well that's a common error if u are messing around with google maps api.

go to Project > Properties > Java Build Path > Libraries and ensure that there is no android.jar or maps.jar directly included. You should only have Google Apis with at leastmaps.jar and android.jar as leaves.

As u can see in the image there are two maps.jar . You have to delete the first one and just leave the leaves of Google APIs Unable to open sync connection

Mess a lot with the code and now the error i get is : Unable to open sync connection!

as u can check @ stackoverflow the answer is to enable/disable the usb-debugging

Some other tips that may can help u is to reboot your device, unplug it from the PC and plug it again.

Tuesday, March 20, 2012

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

It has something to do with Android Google Maps.

I guess its not the API KEY, since im not having any problems and my app works just fine.

Seems it still is a bug no matter what SDK version you use.

Also from Stackoverflow is provided a workaround check the link here