Android 开发环境的构建方法总结
2010-03-26 15:58:00 来源:WEB开发网下完之后,
名字以android的,解压到platforms里面
以google_apis开头的,解压到addons里面
usb驱动的,直接解压到根目录
安装Eclipse插件 ADT
• Start Eclipse, then select Help > Install New Software.
• In the Available Software dialog, click Add…
• In the Add Site dialog that appears, enter a name for the remote site (for example, “Android Plugin”) in the “Name” field.
In the “Location” field, enter this URL:
https://dl-ssl.google.com/android/eclipse/
如果无法通过上面的地址获得插件,可将https替换为http。(https is preferred for security reasons)
• Back in the Available Software view, you should now see “Developer Tools” added to the list.
• Select the checkbox next to Developer Tools, which will automatically select the nested tools Android DDMS and Android Development Tools. Click Next.
• In the resulting Install Details dialog, the Android DDMS and Android Development Tools features are listed.
• Click Next to read and accept the license agreement and install any dependencies, then click Finish.
• Restart Eclipse.
配置ADT
在Eclipse中:
• 选择Window > Preferences…
• 在左边的面板选择Android,然后在右侧点击Browse…并选中SDK路径,本机为:
C:Androidandroid-sdk-windows
• 点击Apply、OK。配置完成。
创建AVD
为使Android应用程序可以在模拟器上运行,必须创建AVD
• 在Eclipse中。选择Windows > Android SDK and AVD Manager
• 点击左侧面板的Virtual Devices,在右侧点击New
• 填入Name,选择Target的API,SD Card大小任意,Skin随便选,Hardware目前保持默认值
• 点击Create AVD即可完成创建AVD
Create a New Android Project
After you’ve created an AVD, the next step is to start a new Android
更多精彩
赞助商链接