jsdf
2009-09-04 12:27:57 UTC
Yes, that did it. I was using an AVD that was not built with Google
libraries.
Thanks for the nudge.
jsdf
libraries.
Thanks for the nudge.
jsdf
Apparently your app needs Google's maps library. That library is not in the
emulator image you are using. I am pretty sure there is an image included
in the SDK that contains that library; the documentation about the SDK and
ADTs should be of help.
Dianne Hackborn
Android framework engineer
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.
emulator image you are using. I am pretty sure there is an image included
in the SDK that contains that library; the documentation about the SDK and
ADTs should be of help.
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?
"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>
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
--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?
"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>
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
You have a <uses-library> line in your manifest for a shared library that
isnot built into the emulator. The log will probably tell you more.
Dianne Hackborn
Android framework engineer
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
andHi all,
When I try to install one of my applications to the emulator with "adb
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
--When I try to install one of my applications to the emulator with "adb
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
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
answer them.
Dianne Hackborn
Android framework engineer
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.