Dianne,
Yes, the log tells me that my package "requires unavailable shared
library com.google.android.maps".

When I take out the <uses-library
android:name="com.google.android.maps" /> from my manifest, it loads
successfully.  On launch, I get an error: "Unable to resolve
superclass of Lcom/jsdf/app/map/MapViewActivity;"
And, clearly, that is not the right solution anyway.

Do you (or anyone else) have suggestions on how else to approach this?



Additional details:

My Eclipse build path shows:
"admob-sdk-android.jar"
"FlurryAgent.jar"
"Google APIs [Android 1.5]" <-- when expanded, this shows android.jar
and maps.jar.

My Eclipse > Project Properties > Android > Project Build Target is
"Google APIs"

My (disguised) manifest is below.  Note that if I change <uses-sdk
android:minSdkVersion> from 1 to 3, the result is the same.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="com.jsdf.app" android:versionName="1.0"
        android:versionCode="1">
        <uses-sdk android:minSdkVersion="1" />
        <uses-permission android:name="android.permission.VIBRATE"></uses-
permission>
        <uses-permission android:name="android.permission.INTERNET"></uses-
permission>
        <uses-permission
android:name="android.permission.ACCESS_COARSE_LOCATION"></uses-
permission>
        <uses-permission
android:name="android.permission.ACCESS_FINE_LOCATION"></uses-
permission>
        <application android:icon="@drawable/icon" android:label="@string/
app_name"
                android:debuggable="true"
                android:name="com.jsdf.app.App">
                <uses-library android:name="com.google.android.maps" />
                <activity android:name=".AppApplication">
                        <intent-filter>
                                <action 
android:name="android.intent.action.MAIN" />
                                <category 
android:name="android.intent.category.LAUNCHER" />
                        </intent-filter>
                </activity>
                <activity android:name="Activity"></activity>
                <meta-data android:value="xxxxxxxxxxxx"
android:name="ADMOB_PUBLISHER_ID" />
        </application>
</manifest>

Thanks,
jsdf


On Aug 29, 11:08 am, Dianne Hackborn <hack...@android.com> wrote:
> You have a <uses-library> line in your manifest for a shared library that is
> not built into the emulator.  The log will probably tell you more.
>
>
>
> On Sat, Aug 29, 2009 at 8:37 AM, jsdf <jasons...@gmail.com> wrote:
>
> > Hi all,
> > When I try to install one of my applications to the emulator with "adb
> > install bin/app.apk", I constantly receive the following:
>
> > 1134 KB/s (123414 bytes in 0.106s)
> >        pkg: /data/local/tmp/app-lite.apk
> > Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]
>
> > I have built with two external libraries, Flurry and AdMob.
> > I have also tried rebuilding my project from scratch, with the same
> > results.
>
> > The very odd thing is that this does not happen when I install the
> > release version to my phone via downloading an .apk file.
>
> > Does anyone have suggestions on how to proceed?
>
> > Thanks,
> > jsdf
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to