Android 2.3 sdk 在 Ubuntu Karmic (9.04) 上的问题
2010年12月20日
Android 2.3 sdk 在 Ubuntu Karmic (9.04) 上的问题 (2010-12-09 17:55:08)
转载
用 Eclipse 直接从 Android 2.2 升级到 Android 2.3 有两个问题
1. adb 无法使用了
原因: adb 从 /tools 目录/platform-tools
解决办法: edit /etc/profile 或者 ~/.bashrc 增加/platform-tools 到 path 中
2. emulator 无法启动
原因: /lib32/libc.so.6: version `GLIBC_2.11'not found (required by ./emulator) , emulator 依据 GLIBC_2.11,android developer 有说 google QA 是用的 Lucid (10.04)所以没有发现这个问题
解决办法: a. 用 r07 版本的emulator 替换 r08 的 emulator,测试可以跑起来,但是不知道是否缺功能
r07 sdk 下载 :http://dl.google.com/android/android-sdk_r07-linux_x86.tgz
(该办法引用 http://codetrips.blogspot.com/2010/12/latest-update-for-android-sdk-breaks.html,不过他里面的 zip文件无法下载)
b. 安装 glibc_2.11 , 不过我没有试, 装了 Lucid 的源更新以后,发现安装glibc_2.11 影响太多的程序,没有功夫去试,万一有问题,我的机器有无法工作了
windows 版本以及使用 Ubuntu Lucid的人都没有这个问题, 不知道 google 什么时候会出 patch呢?
2010年12月20日
Android 2.3 sdk 在 Ubuntu Karmic (9.04) 上的问题 (2010-12-09 17:55:08)
转载
用 Eclipse 直接从 Android 2.2 升级到 Android 2.3 有两个问题
1. adb 无法使用了
原因: adb 从 /tools 目录/platform-tools
解决办法: edit /etc/profile 或者 ~/.bashrc 增加/platform-tools 到 path 中
2. emulator 无法启动
原因: /lib32/libc.so.6: version `GLIBC_2.11'not found (required by ./emulator) , emulator 依据 GLIBC_2.11,android developer 有说 google QA 是用的 Lucid (10.04)所以没有发现这个问题
解决办法: a. 用 r07 版本的emulator 替换 r08 的 emulator,测试可以跑起来,但是不知道是否缺功能
r07 sdk 下载 :http://dl.google.com/android/android-sdk_r07-linux_x86.tgz
(该办法引用 http://codetrips.blogspot.com/2010/12/latest-update-for-android-sdk-breaks.html,不过他里面的 zip文件无法下载)
b. 安装 glibc_2.11 , 不过我没有试, 装了 Lucid 的源更新以后,发现安装glibc_2.11 影响太多的程序,没有功夫去试,万一有问题,我的机器有无法工作了
windows 版本以及使用 Ubuntu Lucid的人都没有这个问题, 不知道 google 什么时候会出 patch呢?