简体   繁体   English

Android开发环境Linux

[英]Android Development Environment Linux

I wanna setup Android Development Environment in Linux. 我想在Linux中设置Android开发环境。 I have done it in Windows before but wanna set it up in Linux. 我以前在Windows中完成过此操作,但想在Linux中进行设置。 Is there any guide on how i can do it ? 有什么指导我该怎么做吗?

Downloaded Eclipse, Java JDK, ADT, SDK for linux 已下载适用于Linux的Eclipse,Java JDK,ADT,SDK

the SDK is around 25mb only. SDK仅约25mb。 Looks like it doesnt have the platform files. 看起来它没有平台文件。 From where can i download the platform files for 2.2 and 2.3. 我可以从哪里下载2.2和2.3的平台文件。

I dont have internet on the linux machine. 我在linux机器上没有互联网。

  1. download and install the JDK 下载并安装JDK
  2. download and unzip the android SDK (from developer.andriod.com) 下载并解压缩android SDK(从developer.andriod.com)
  3. export the path to the android sdk (in ~/bash.rc append the line) 将路径导出到android sdk(在〜/ bash.rc中添加该行)

    export PATH=${PATH}:/path/to/the/sdk/tools/folder

  4. Download and install eclipse 下载并安装eclipse

  5. Download the eclipse Plugin 下载eclipse插件
  6. Start eclipse 开始蚀
  7. Click Help -> Software Updates 单击帮助->软件更新
  8. Click Availble Software 单击可用软件
  9. Add Site 新增网站
  10. Enter the path to the plugin 输入插件的路径
  11. select the plugin and install 选择插件并安装

That should do it... Look here http://www.softwarepassion.com/setting-up-android-development-platform-on-ubuntu-linux-904/ and here http://fyi.oreilly.com/2009/02/setting-up-your-android-develo.html for more info 那应该做...在这里看http://www.softwarepassion.com/setting-up-android-development-platform-on-ubuntu-linux-904/在这里http://fyi.oreilly.com/2009 /02/setting-up-your-android-develo.html了解更多信息

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM