linux android环境的设置

STEP1:安装 android SDK 2.1

        因为国内网络控制的原因,不能直接访问android网站,下面是安装方法。

               主要参考原文:    https://wiki.mozilla.org/Android       

                            http://www.javaeye.com/topic/568561

快速指南(Linux)

将如下命令拷贝到shell终端,下载并安装 SDK.

# get SDK
wget http://dl.google.com/android/android-sdk_r04-linux_86.tgz # unpack SDK
tar xvfz android-sdk_r04-linux_86.tgz
SDK需要做一些手工设置:
  • In the SDK directory, run tools/android
  • Check Settings->Force https:// ... sources to be fetched using http:// ...
  • Click Save & Apply
  • Installed Packages->Update All...
  • You may uncheck everything you don't need. Just installing the latest 1.x and 2.x SDKs is fine.
  • Click Install Accepted

猜你喜欢

转载自blog.csdn.net/vidar_li/article/details/5183371