2012-08-27 138 views
1

我正在使用android-sdk-macosx从网上下载,然后成功安装了Android SDK 2.2和2.1,然后我试图在Mac上创建新的AVD,但我对如何创建AVD没有任何想法。如何在Mac上创建新的Android虚拟设备(AVD)?

我想这在下面,供大家参考提到:

Fig 1.0 Create new AVD 

enter image description here

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

enter image description here

回答

1

在Eclipse中,转到Windows菜单,选择首选项选项,以下对话框将出现。只需使用浏览按钮选择Android-SDK文件夹即可。

enter image description here

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

enter image description here

现在,你就可以在你的Eclipse创建新的AVD。

注意,我已经使用Windows系统上传了这个图像,但我确定,MAC有一些相同类型的菜单选项。

+0

感谢您的答复,现在我检查,并尽快更新你的。 – SampathKumar

+0

我试图按照这个步骤,但错误来了,上面我提到的屏幕截图供您参考。 – SampathKumar

+0

请帮助我,我花了2个小时这个,但我没有完成这个 – SampathKumar

0

看起来你需要配置Eclipse来告诉它的android-sdk-macosx目录(这可以在'窗口>首选项> Android> SDK位置“中完成。

另外,请看this page

+0

感谢您的回复,请查看图2.0 Android的SDK-MacOSX的 – SampathKumar

0

在截图图4.0中,在窗口顶部有一个错误消息,这可能解释了为什么应用按钮不可用。 尽管邮件无法完全读取,但我认为它说您的ADT版本(Android开发人员工具)与您的SDK版本不匹配:我可能想要尝试更新两者。

另外,看看this question,这可能是大约相同的问题。

1

按照此七个步骤来解决这个问题:

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. 
相关问题