Sometimes when setting up your Android development environment for the first time you'll get an error like: Couldn't get connection factory client
For example: Trying out the HelloGoogleMaps tutorial from http://developer.android.com/resources/tutorials/views/hello-mapview.html
Sometimes it may be due to an invalid Maps API key so check that you have done this correctly.
If you have followed all the instructions and haven't cut corners then the next thing to try is your DDMS settings.
In Eclipse go to Window > Preferences > Android > DDMS and set your ADB connection time out (ms) from the default 5000 to 10000.
This gives the notoriously slow AVD a chance to get going with the request before it times out.
Could you tell more posible solution? I still can't solve this problem till now. Thanks
ReplyDelete