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