开始开发Android的使用Eclipse

我的第一篇文章是一个匆匆如何让自己开始使用Android开发的工具,你将需要得到持续。所以,让我们开始你的第一个Android开发的基本设置。 (My first post is a quickie on how to get yourself started with Android development and the tools you will need to get going. So lets get started with your first basic setup for Android development.)

1。下载和安装Android SDK


  1. 下载Android SDK (Download the Android SDK )
  2. 安装/解压缩下载的SDK (Install/Extract the downloaded SDK)
  3. 转到您安装SDK和开放式的SDK管理器打开Android SDK和AVD管理器的目录。 (Go to the directory where you installed the SDK and open SDK Manager to open Android SDK and AVD Manager.)
  4. 在AVD经理在Avaliable套件,你可以看到不同版本的SDK (In AVD manager under Avaliable Packages you can see different versions of SDK’s)

          

    5. 选择SDK平台工具和SDK的版本,点击安装“ (Select SDK Platform tools and one of the version of         SDK and click on install)

2。下载Eclipse软件

虽然有很多的IDE推荐使用Eclipse的IDE,这将给你最好的Android应用程序开发的支持。 (Although there are lot of IDE out there Eclipse is recommended IDE which will give you best support for Android app development.)

             从这里,您可以下载Eclipse IDE

3。安装Android开发工具包(ADT)插件


  1. 打开Eclipse S / W和在帮助 - >安装新的软件... (Open Eclipse s/w and under Help -> Install New Software)
  2. 现在,你会看到一个窗口,允许您安装新的插件 (Now you will see a window which allows you to install new plug-in)
  3. 点击“添加”按钮,在名称和位置给的链接https://dl-ssl.google.com/android/eclipse/,并继续采取进一步措施。(Click on Add button and in Name and in Location give the link https://dl-ssl.google.com/android/eclipse/ and proceed with further steps.)

4。创建示例项目

创建一个示例Android项目涉及很少的几个步骤 (Creating a sample android project involves very few steps)


  1. 在您的Eclipse IDE的“文件” - > Android项目 ( In your Eclipse IDE go to File -> Android Project)
  2. 给项目名称,选择“生成目标,应用程序名称,包装名称,活动名称,最小的SDK版本,请单击”完成“ (Give Project Name, Select Build Target, Application Name, Package Name, Activity Name, Min SDK version and click Finish)

    3.现在你可以看到一大堆的项目资源管理器中创建的文件。


5。创建新的Android虚拟设备(AVD)

AVD是一个模拟器,它为您提供了在电脑上测试应用程序的Android硬件和软件环境。 (The AVD is an emulator which provides you android hardware and software environment to test application on computer.)


  1. 在Eclipse开放式的SDK管理器在Windows - > Android SDK AVD Manager (In Eclipse open SDK Manager under Windows -> Android SDK and AVD Manager)

    2.点击New的右侧。(Click on New on the right side.)


    3.注明产品名称,选择目标SD卡的大小,然后单击“创建AVD。(Give Name, Select Target give SD Card size and click on Create AVD.)


    4.现在创建一个新的AVD您提供的规格和关闭的Android SDK和AVD管理器 (Now a new AVD is created with the specification you provided and Close the Android SDK and AVD Manager)

6。运行项目

一旦你成功地创建AVD,你准备好测试您的应用程序。(Once you successfully created AVD you are ready to test your application.)


  1. 点击右键,包装项目,探索,然后单击“运行方式 - > Android应用。 (Right Click on the project in Package Explore and click on Run As -> Android Application.)


    2.现在你可以看到一个AVD打开和引导。(这将需要多少时间第一次推出AVD)(Now you can see an AVD is opened and booting up.( It will take much time to launch AVD for the first time))
    3. AVD一旦开始,你可以看到输出的AVD屏上。(Once the AVD started you can see the output on the AVD screen.)




:哎,我使用谷歌翻译的内容从英语翻译我的中国......如果有任何错误,请原谅我。



转载于:https://my.oschina.net/androidgrove/blog/109952

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值