Ubuntu下Android sdk安装注意事项...

ubuntu下的SDK不是win下的SDK那样有个模拟键盘和各种按键,它只有一个屏。

别的不说了,能用就好,现在来说说Ubuntu下Eclipse如何配置Android开发环境。

Step1:
Install add-ons for eclipse. like windows..

     # help-->install new software....and then you will see this snap above

# click "Add...."button,type this url "http://dl-ssl.google.com/android/eclipse/ " into location

# Eclipse will load sources avalible,after a moment,U will probably see this

 

# and then select all,click next button,and then wait util downloading and installing finished.

# if you see the dialog which recommands you to restart eclipse,Congratulations,you got the android. 

# can you see the robot which means the android-plugin installed successfully.

 

Step2: install android SDK onto local disk.

   # google "android-sdk-2.3.tgz" and likes,download sdk files.

   # actually,i downloaded this.

 

   # copy this file into you favorate folder

   # for example,  "/home/caiwm/dev-tools/"

 

  # the first folder named "android-sdk-linux_86" is generated by operating the shell;

  # open "shell",using "sudo su" to get root.

  # and then type "cd /home/caiwm/dev-tools/" to change to "dev-tools" folder.

  # then type "tar -zxvf android-sdk_r08-linux_86.tgz" to 'unzip' the tools file.

  # util now ,you will see the first folder imaged by the above pic.

 

 

Step3: Use the tools to download android pkg.

   # open "android-sdk-linux_86" folder,you will see this,

   # shell "tools/android" to open "Android SDK and AVD manager" Using Root

 

   # click "setting"

 

 

  # click "avalible packages" to select which pkg to install

   # wait for pkg downloading and installing finished....

   # and then you will can see the pkg installed.

 

OK,Almost completed....

Step4: Continue to config eclipse.

 

    # window-->preferences....

    # this error due to the SDK Location set Incorrectly.

 

   # click "OK", to set the SDK location...click "Apply" you can see the pkg you installed.

 

#OVER

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值