requires unavailable shared library com.google.android.maps; failing!解决方案

本文介绍如何创建带有Google APIs的Android虚拟设备(AVD),以解决Android模拟器中缺失Google Maps库的问题。主要步骤包括使用android命令启动AVD管理器、选择合适的系统映像、配置选项并创建AVD。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

As CommonsWare said, your emulator is missing the library. The Google Maps Library's documentation'sOverview page has info on how to create the right kind of virtual device for the emulator. The gist is:

Launch the AVD Manager by using the android command without any options. If you are developing in Eclipse/ADT, you can also access the tool from Window > Android SDK and AVD Manager.

  1. Click the "New" button to begin creating a new AVD.
  2. In the dialog that appears, specify a name for the AVD and select the system image target that you want the AVD to use. Select one of the "Google APIs (Google Inc.)" targets, making sure to choose a version whose API Level matches the android:minSdkVersion attribute in your application's manifest, as described above.
  3. Configure the other options and then click "Create AVD".

Once you've finished creating the AVD, you can run it from the AVD Manager UI or you can use the emulator's command-line interface. If you are developing in Eclipse, you can configure a Run Configuration to start the AVD and install your application on it.

For more information about AVDs, see Android Virtual Devices on the Android Developers site.

大意是创建一个Google APIs (Google Inc.)虚拟机,用此虚拟机运行google地图应用

原文http://stackoverflow.com/questions/2283398/shared-library-missing-in-android

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值