宿主PC
      CPUDual-Core 2.00GHz
      内存:2GB
      OSWin 7 Ultimate, 32-bit
虚拟机
      VMware Workstation 7.1.1 build-282343
虚拟机OS
      ubuntu-10.04.3-server-i386
安装过程
问题:打开虚拟机电源时弹出提示"serial0: Unable to launch virtual printer proxy: 系统不到指定的文件. 设备将要被断开连接。"
解决:百度资源得知,这个是虚拟机里面的报错。只要在设置里面关闭掉虚拟打印机连
接时启动就可以解决
参照blog.szu.edu/Forum/65115
1.试图运行"sudo apt-get install sun-java6-sdk",提示无法到软件包
sun-java6-sdk
参照darkhandz/ubuntu-10-04-android-dev-environment/
comment-page-1/#comment-2530
2.下载、安装jdk1.6eclipse,如下3.-7.   
3.下载jdk"sudo wget -c acle/otn-pub/java/jdk/
6u25-b06/jdk-6u25-linux-i586.bin"
      4.修改jdk-6u25-linux-i586的可执行权限:"chmod +x jdk-6u25-linux-i586.bin"(最简单的方法是赋予所有权限:chmod 777 jdk-6u25-linux-i586.bin)
      5.命令"./jdk-6u25-linux-i586.bin"报错
参照darkhandz/ubuntu-10-04-android-dev-environment/
comment-page-1/#comment-2530
6.下载好eclipse后进行tar解压"tar zxvf ...",提示:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: 由于前次错误,将以上次的错误状态退出
    参照androidsdk安装步骤bbs.chinaunix/thread-2099407-1-1.html
7.运行"rpm -q gizp"查看gizp安装包,提示"软件包 gizp 尚未安装"
    参照wwwblogs/viperchaos/archive/2011/08/23/2151333.html
8.运行"sudo apt-get install eclipse"安装eclipse   
    参照darkhandz/ubuntu-10-04-android-dev-environment/
comment-page-1/#comment-2530
9.下载Android SDK"sudo wget dl.google/android/android-sdk_r10-
",并进行tar解压"tar zxvf android-sdk_",重命名"mv android-sdk-linux_x86 android-sdk"
    10.下载Android Platform-tools"sudo wget
le/android/repository/platform-tools_r03-linux.zip",进行unzip解压"unzip platform-tools_r03-linux.zip至目录android-sdk,重命名"mv platform-tools_r03-linux platform-tools"
    11.下载 Android 2.3 Platform   
"sudo wget le/android/repository/android-2.3_r01-
linux.zip"(/android-3.0_pre_r01-linux.zipnux.zip),解压"unzip android-2.3_r01-
linux.zip"至目录android-sdk/platforms
    12.上面8.中安装的eclipse,可以在Ubuntu图形界面的Applications中运行
    13.下载JDK 1.6
"sudo wget acle/otn-pub/java/jdk/6u25-b06/jdk-6u25-linux-
i586.bin",进行chmod修改权限"sudo chmod 777 jdk-6u25-linux-i586.bin",重命名
"mv jdk-6u25-linux-i586.bin jdk-6u25.bin",安装"sudo ./jdk-6u25.bin"显示错误
    ./jdk-6u25.bin: 1: cannot open html: No such file
./jdk-6u25.bin: 2: cannot open head: No such file
./jdk-6u25.bin: 3: cannot open title: No such file
./jdk-6u25.bin: 3: Request: not found
./jdk-6u25.bin: 4: cannot open META: No such file
./jdk-6u25.bin: 5: cannot open link: No such file
./jdk-6u25.bin: 6: cannot open link: No such file
: not foundbin: 7:
./jdk-6u25.bin: 8: cannot open body: No such file
./jdk-6u25.bin: 9: cannot open div: No such file
./jdk-6u25.bin: 10: cannot open table: No such file
./jdk-6u25.bin: 11: cannot open tr: No such file
./jdk-6u25.bin: 12: Syntax error: redirection unexpected
14.百度"Ubuntu 10.04中无法安装jdk" ??
参照darkhandz/ubuntu-10-04-android-dev-environment/
comment-page-1/#comment-2530
15.配置环境变量"sudo gedit /etc/environment"提示"sudo: gedit: command not found",百度"sudo: gedit: command not found"
参照/viewtopic.php?t=89160"
16.使用vi配置环境变量"sudo vi environment"并在games后面添加":~/app_soft/android-sdk/platform-tools "保存退出
    17. "adb devices"验证Android SDK的配置,报错
    未到 'adb' 命令,您要输入的是否是:
    命令 'cdb' 来自于包 'tinycdb' (main)
    命令 'gdb' 来自于包 'gdb' (main)
    命令 'aub' 来自于包 'aub' (universe)
    命令 'dab' 来自于包 'bsdgames' (universe)
    命令 'zdb' 来自于包 'zfs-fuse' (universe)
    命令 'mdb' 来自于包 'mono-debugger' (universe)
    命令 'tdb' 来自于包 'tads2-dev' (multiverse)
    命令 'pdb' 来自于包 'python' (main)
    命令 'jdb' 来自于包 'openjdk-6-jdk' (main)
    命令 'ab' 来自于包 'apache2-utils' (main)
adb:不到命令
参照www.kankansea/ViewArticle1363.aspx
    18.重新配置环境变量,检测环境变量是否设置成功:注销重新登录后输入"adb devices"验证Android SDK的配置,提示:
    * daemon not running. starting it now on port 5037 *
* daemon started successfully *
表示成功配置好Android SDK工具目录。重启电脑
    17.eclipse安装ADT插件,安装失败提示:
Cannot complete the install because one or more required items could not be found. 
Software being installed: Android DDMS 18.0.0.v201203301601-306762
(com.lipse.up 18.0.0.v201203301601-306762)
      Missing requirement: Android DDMS 18.0.0.v201203301601-306762
(com.lipse.up 18.0.0.v201203301601-306762)

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。