安卓开发环境搭建

本文详细介绍了如何通过下载并配置SDK、JDK等工具来搭建Android开发环境,包括添加系统变量、更新路径以及使用Eclipse进行项目创建的全过程。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


 

1. Download SDK ADT bundle (http://developer.android.com/sdk/index.html)

 

2. Download JDK (http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html)

3. Add JAVA_HOME System Variables

 

Click: New(on system variables tab)

 

Add a new user variables “JAVA_HOME”

The value of this user variables is the absolute path of file “ JDK”

4. Add CLASSPATH System Variables

 

Variable values:

 .;%JAVA_HOME%\lib\tools.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\bin;

5. Update Path System Variables

 

Click: This PC -> System properties –>Advanced system settings -> Environment Variables

 

Click : Path->Edit

 Add the absolute path of file “\sdk\tools” to your Windows path

Then add “%JAVA_HOME%\jre\bin;%JAVA_HOME%\bin”

 


   6. Start eclipse

  1. 6.1 Double click the eclipse icon

    6.2 Set the path of workspace then click OK

     


    Now the Android developmentenvironment setting up is completed.

    You can click ” File-> New ->Android Application Project” to write anandroid app

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值