Android 1.6 SDK

1、下载解压

$ curl -O http://dl.google.com/android/android-sdk-linux_x86-1.6_r1.tgz
$ tar xzf android-sdk-linux_x86-1.6_r1.tgz

2、添加环境变量

$ export PATH=$PATH:`pwd`/android-sdk-linux_x86-1.6_r1/tools

3、设置 AVD

$ _id=$(android list | sed -n -e '/Name: Android 1.6/{g;p};h')
$ _id=$(echo $_id | sed -n -e 's/id: ([0-9]{1,2})/1/p')
$ android create avd -n mydroid1.6 -t $_id

4、启动模拟器

$ emulator -avd mydroid1.6

留下评论

您的邮箱地址不会被公开。 必填项已用 * 标注