Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2430440
  • 博文数量: 409
  • 博客积分: 10458
  • 博客等级: 上将
  • 技术积分: 4257
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-24 14:59
文章分类

全部博文(409)

文章存档

2018年(2)

2017年(5)

2016年(11)

2015年(34)

2014年(22)

2013年(30)

2012年(19)

2011年(7)

2010年(12)

2009年(16)

2008年(251)

分类: Android平台

2018-02-03 10:30:43

先装jdk
http://www.oracle.com/technetwork/java/javase/archive-139210.html
download java SE 6
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase6-419409.html

Java SE Development Kit 6u45
jdk-6u45-linux-i586.bin

registery first
download

run
$./jdk-6u45-linux-i586.bin

$sudo mkdir /opt/java
$sudo mv jdk1.6.0_45 /opt/java/

$sudo vi /etc/profile
export JAVA_HOME=/opt/java/jdk1.6.0_45
export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export PATH=$JAVA_HOME/bin:$PATH
#export JRE_HOME=$JAVA_HOME/jre

重启,或者注销

$java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) Server VM (build 20.45-b01, mixed mode)

$tar -xvf lichee.tar.gz
$cd lichee
./build.sh -p sun6i_fiber
./gen_check_code ./resume1.bin ./super/resume/resume1.code
./gen_check_code: ./gen_check_code: cannot execute binary file

$vi /home/d01zm/workspace/A31/A31-V2.0/lichee/linux-3.3/arch/arm/mach-sun6i/pm/standby/Makefile

change
#cp resume1.bin ./super/resume/resume1.code
./gen_check_code ./resume1.bin ./super/resume/resume1.code

to

cp resume1.bin ./super/resume/resume1.code
#./gen_check_code ./resume1.bin ./super/resume/resume1.code



$tar -xvf android.tar.gz
$cd android/
$source build/envsetup.sh
$lunch    //选择相应的产品


执行extract-bsp出错
android/../lichee/out/android/bImage: No such file or directory
lichee下没有out目录,bImage在linux3.3/目录下有。

进入lichee
./build.sh -p sun6i_fiber -m kernel
"mkimage" command not found -U-boot images will not be built

$sudo apt-get install uboot-mkimage

/bin/sh:1:arm-linux-gnueabi-arm-linux-gnueabi-gcc:not found
删除 v4.2/lichee/linux-3.3/modules/eurasia_km/eurasiacon/binary2_sunxi_android_release/


ub 12.04  64bit
mount wrong fs type ....
$apt-get install nfs-common


在Ubuntu下安装jdk解压出现问题:./jdk-6u45-linux-i586.bin: 113: ./install.sfx.1535: not found。
Failed to extract the files.  Please refer to the Troubleshooting section of
the Installation Instructions on the download page for more information
机器字长和jdk版本不匹配,64位的系统,选择了586的jdk。
之后到Oracle网站去下载了64位的jdk(jdk-6u45-linux-x64.bin),修改添加执行权限后,运行该文件,解压成功!


external/bluetooth/bluedroid/Android.mk:8: NO BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR, using only generic configuration
$sudo apt-get install ia32-libs lib32z1-dev lib32bz2-dev

 /bin/bash: bison: command not found
方法:sudo apt-get install bison

/bin/bash: xsltproc: command not found

方法:sudo apt-get install xsltproc

/bin/bash: xmllint: command not found
方法:sudo apt-get  install libxml2-utils

make[1]: lzma: Command not found

方法:sudo apt-get  install lzma

/bin/bash:flex command not found
sudo apt-get install flex


target : framework
out of memery: kill process java ...
加大swap
http://blog.sina.com.cn/s/blog_6d6e54f701010jxt.html


target generated:libbcc <= frameworks/compile/libcc/tools/build/gen-build-info.py
....
cwd=repo_dir)
File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
errred,errwrite)
File "/usr/lib/python2.7/subprocess.py" line 1249, in _execute_child raise child_exception
OSError: [Errno 2] No such file or directory
make :*** [out/host/]....BuildInfo.cpp] Error 1

$sudo apt-get install git-core
阅读(54) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册