Fedora 12安装Android SDK
1. 下载Android SDK
由于android网站国内不能直接访问, 请通过以下网址下载
http://androidappdocs.appspot.com/index.html
http://dl.google.com/android/android-sdk-windows-1.6_r1.zip
Windows: http://dl.google.com/android/android-sdk-windows-1.6_r1.zip
Mac OS X (intel): http://dl.google.com/android/android-sdk-mac_x86-1.6_r1.zip
Linux (i386): http://dl.google.com/android/android-sdk-linux_x86-1.6_r1.tgz
ADT Plugin for Eclipse 0.9.3: http://dl.google.com/android/ADT-0.9.3.zip
ophone develop :http://www.ophonesdn.com/
http://blog.csdn.net/vagrxie/archive/2009/08/04/4409464.aspx
android developer: http://www.anddev.org/
2. 添加Android SDK
- 创建配置文件: ~/.android/androidtool.cfg,在该文件中添加一行
sdkman.force.http=true
- 打开"Settings" 选项并选中misc section "force https:// ... sources to be fetched using http://..." ,重启android. (点击Save后没有反应,重启后发现该选项并没有选中,无效)
- export GDK_NATIVE_WINDOWS=true before running android sdk manager.
It fixes both the save button and the install button for me. (该方法可行)
3. 为Eclipse安装ADT插件
The Google Plugin for Eclipse depends on other specific Eclipse components, such as WST. Your installation of Eclipse may not yet include all of them, but they can be easily installed by following these instructions.
Eclipse 3.5 (Galileo)
- Select Help > Install New Software...
- Click the hyperlink for Available Software Sites.
- Ensure there is an update site named Galileo. If this is not present, click Add... and enter http://download.eclipse.org/releases/galileo for the Location.(在这一步,添加完Galileo之后,最好能安装一下这个site的可用的关键更新)
- Now go through the installation steps; Eclipse should download and install the plugin's dependencies.
完成上面的步骤之后,Google App Engine和 Web Toolkit插件就被安装到了Eclipse。此时你仍然需要按照http://androidappdocs.appspot.com/sdk/eclipse-adt.html所陈述的步骤再安装ADT并配置SDK。