【问题标题】:How to create New Android Virtual Device (AVD) on Mac?如何在 Mac 上创建新的 Android 虚拟设备 (AVD)?
【发布时间】:2012-08-22 01:41:51
【问题描述】:

我正在使用android-sdk-macosx从互联网上下载,然后成功安装了Android SDK 2.2和2.1,然后我尝试在mac上创建新的AVD,但我不知道如何创建AVD。

我尝试了以下提到的供您参考:

Fig 1.0 Create new AVD

Fig 2.0 I tried to open SDK and AVD Manager in eclipse menu Window --> Android SDK Manager

【问题讨论】:

    标签: android eclipse sdk android-emulator avd


    【解决方案1】:

    看起来你需要配置 Eclipse 来告诉它android-sdk-macosx 目录在哪里(这可以在“Window>Preferences>Android> SDK Location”中完成。

    另外,看看this page

    【讨论】:

    • 感谢您的回复,请看图2.0 android-sdk-macosx
    【解决方案2】:

    在 Eclipse 中,进入 Windows Menu ,选择 Preference Option 这样,将出现以下对话框。只需使用浏览按钮选择 Android-SDK 文件夹。

    完成这一步后,点击“应用按钮”,

    现在,您将能够在 Eclipse 中创建新的 AVD。

    注意,我已经使用 Windows 系统上传了这张图片,但我确信 MAC 有一些相同的菜单选项。

    【讨论】:

    • 我尝试按照此步骤操作,但出现错误,上面我提到了屏幕截图供您参考。
    • 请帮帮我,我为此花了 2 个小时,但我没有完成这个
    • 你在指定sdk路径后是否点击了“应用”按钮?
    • 应用按钮总是无效
    • 请看上图4.o
    【解决方案3】:

    在截图图 4.0 中,寡妇顶部有一条错误消息,这可能解释了为什么应用按钮不可用。 虽然无法完全阅读该消息,但我认为它表示您的 ADT(Android 开发人员工具)版本与您的 SDK 版本不匹配:我可能想尝试更新两者。

    另外,看看this question,这可能是同样的问题。

    【讨论】:

      【解决方案4】:

      请按照以下七个步骤解决此问题:

      1. Start Eclipse, then select Help > Install New Software.
      2. Click Add, in the top-right corner.
      3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
      https://dl-ssl.google.com/android/eclipse/
      Click OK.
      4. If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
      In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
      5. In the next window, you'll see a list of the tools to be downloaded. Click Next.
      Read and accept the license agreements, then click Finish.
      6. If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
      7. When the installation completes, restart Eclipse.
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2017-07-26
        • 1970-01-01
        • 1970-01-01
        • 2012-12-07
        • 1970-01-01
        • 1970-01-01
        • 2018-06-04
        相关资源
        最近更新 更多