I'm trying to use Android Maps, following the instructions in Hello MapView.

I've added <uses-library android:name="" /> in the Manifest, and I'm building against the 'Google APIs' target, which claims to be API version 7.

So I don't think I'm doing anything obviously wrong, but the project refuses to build with this error:

[2010-12-22 13:34:32 - FMS]Installing FMS.apk...
[2010-12-22 13:35:01 - FMS]Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
[2010-12-22 13:35:01 - FMS]Please check logcat output for more details.
[2010-12-22 13:35:01 - FMS]Launch canceled!

logcat is telling me the following (not very enlightening):

D/PackageParser(   55): Scanning package: /data/app/vmdl67147.tmp
I/PackageParser(   55): compat added android.permission.WRITE_EXTERNAL_STORAGE android.permission.READ_PHONE_STATE
E/PackageManager(   55): Package requires unavailable shared library; failing!
W/PackageManager(   55): Package couldn't be installed in /data/app/
D/AndroidRuntime(  206): Shutting down VM

It is possible I haven't set up the Maps API key correctly - when I got it using keytools, I didn't specify an alias_name, though this didn't seem to cause an error.

Can anyone help?


This error arises from the fact that Google Maps not installed on your device/emulator.

Find another device (or install Google Maps on your device) or create AVD for emulator with Google Maps.

Make sure that your project is set up to target API level 3 (android create project -t 3 ...), and that the AVD you are testing with is also set for API level 3 (or you are testing on an actual device with Google Maps on it).

Need Your Help

Javascript memory profiler for Firefox

javascript firefox memory profiling

Is there a tool/plugin/function for Firefox that'll dump out a memory usage of Javascript objects that you create in a page/script? I know about Firebug's profiler but I'd like something more than ...

PHP DOMDocument::loadHTML() [domdocument.loadhtml]: htmlParseEntityRef: no name in Entity

php html-parsing domdocument

I trying to get the "link" elements from certain webpages. I can't figure out what i'm doing wrong though. I'm getting the following error: