http://developer.android.com/intl/zh-cn/sdk/installing/index.html?pkg=tools
Troubleshooting Ubuntu
- If you need help installing and configuring Java on your development machine, you might find these resources helpful:
- Here are the steps to install Java:
-
If you are running a 64-bit distribution on your development machine, you need to install additional packages first. For Ubuntu 13.10 (Saucy Salamander) and above, install the
libncurses5:i386
,libstdc++6:i386
, andzlib1g:i386
packages usingapt-get
:sudo dpkg --add-architecture i386 sudo apt-get update sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386
For earlier versions of Ubuntu, install the
ia32-libs
package usingapt-get
:apt-get install ia32-libs
- Next, install Java:
apt-get install sun-java6-jdk
-