开发者

Unavailable Shared Library - INSTALL_FAILED_MISSING_SHARED_LIBRARY

开发者 https://www.devze.com 2023-01-24 19:36 出处:网络
I am taking over a project, and am trying to launch it in the Android Emulator. I get the following error in Logcat:

I am taking over a project, and am trying to launch it in the Android Emulator. I get the following error in Logcat:

11-11 06:21:42.215: ERROR/PackageManager(58): Package com.android.xxx requires unavailable shared library com.google.android.maps; failing!

Console displays:

Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

H开发者_运维百科ow can I make sure com.google.android.maps is included in my project?

UPDATE: I am using a min sdk level of 3 in my androidmanifest.xml:

</application>
    <uses-sdk android:minSdkVersion="3"/>


When you crate your emulated device, make sure you choose "Google APIs..." as the target. If you choose just "Android..." you won't have advanced APIs such as Maps available on the emulated device.

0

精彩评论

暂无评论...
验证码 换一张
取 消