My fault for being impatient but I've just installed Gingerbread SDK and the new ADT plugin for Eclipse on Eclipse 3.5 Now when I run an existing Google maps project which has worked fine on 2.2, I see no map displayed when running in Eclipse, just like as if I had the wrong debug maps API key. (I just get the grey screen and the Google logo bottom left.)
I have the build path using the old Google APIs [Android 2.1 update1] just like it was before and the target AVD is Google API level 7 as before. (I also created a new Google API level 7 and that doesn't work either).
It seems that something in the backward compatibility is broken somewhere. The only thing in logcat which may be of significance is:
12-06 19:10:31.095: ERROR/ActivityThread(231): Failed to find provider info for com.google.settings
where 231 is the PID of my application.
All suggestions will be gratefully received
(I have checked with Google that my debug API key is still OK)
(I tried to add a Gingerbread tag to this question, but don't have enough rep. Perhaps someone would like to add one?)
For Octavian:
part of manifest.xml
<uses-sdk android:minSdkVersion="4" />
default.properties
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system use,
# "build.properties", and override values to adapt the script to your
# project structure.
# Indicates whether an apk should be generated for each density.
split.density=false
# Project target.
target=Google Inc.:Google APIs:7
apk-configurations=
I imported the sample MapsDemo project from the addon, pasted my API key in the xml and see this:
12-06 21:55:16.722: ERROR/MapActivity(492): Couldn't get connection factory client
in the logcat (492 is the PID of the sample app, I still get just the grey screen - no map) I wonder if it's relevant?
UPDATE
It's not just the maps application. Every single application that requires network connectivity on every AVD (newly created or pre-existing) fails to connect. The built in browser can't find google. The build in app called "maps" comes up with "loading", then "Network failure - This application requires a working data connection".
What have I done? Please suggest how can I fix it?
<uses-sdk ... />
part of yourAndroidManifest.xml
and also the content of yourdefault.properties
. – Bakeman