Android Eclipse OSX 使用终端创建 AVD 启动 AVD 管理器

发布于 2024-09-01 06:32:47 字数 262 浏览 1 评论 0原文

我是在 Mac 上编程和使用 Eclipse 的新手。我正在尝试使用 Google 地图支持创建一个新的 AVD,当启动“android”(在 SDK 工具文件夹中)时,我收到“未提供命令行参数,正在启动 UI”。这将启动 Eclipse Android SDK 和 AVD 管理器。

我的问题是如何创建支持 Google 地图的新 AVD?我发现的所有信息似乎都使用来自终端的命令。我的问题是当我尝试使用终端时它会启动 AVD 管理吗?

任何帮助将不胜感激,因为我对此很陌生。

I'm new to programming and working with Eclipse on a Mac. I'm trying to create a new AVD with Google Maps Support and when launch 'android' (in the SDK tools folder) I get "No command line parameters provided, launching UI". This launches the Eclipse Android SDK and AVD manager.

My question is how do I create a new AVD with Google Maps support? All of the information I've found seems to use commands from terminal. My issue is when I try to use terminal it launches the AVD manage?

Any help is appreciated as I'm very new at this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

慈悲佛祖 2024-09-08 06:32:47

您可以使用 GUI 轻松完成此操作:使用工具目录中的 android 命令启动 AVD 管理器。在 Eclipse 中,您还可以从 Window > 访问该工具。 Android SDK 和 AVD 管理器。

  1. 单击“新建”按钮创建新的 AVD。
  2. 在出现的对话框中,指定 AVD 的名称并选择您希望 AVD 使用的系统映像目标。选择 Google API (Google Inc.) 目标之一,确保选择 API 级别与应用清单中的 android:minSdkVersion 属性相匹配的版本。
  3. 配置您想要的其他选项,然后单击“创建 AVD”。

You can easily do it with the GUI: Launch the AVD Manager by using the android command in the tools directory. In eclipse you can also access the tool from Window > Android SDK and AVD Manager.

  1. Click the "New" button to create 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.
  3. Configure the other options you want and then click "Create AVD".
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文