mayuyang 发表于 2015-8-26 09:53:40

RK3288 编译android 没有生成system.img

如题,make的时候没有生成system.img,也没有报错试了多次都一样。
Note: Recompile with -Xlint:unchecked for details.
100 warnings
Preparing output jar
Copying resources from program jar
patch   0 is 207 bytes (of 6307850)
patch   1 is 2935154 bytes (of 1183764)
patch   2 is 186 bytes (of 12258)
chunk   0: normal   (         0,    6307850)         207
chunk   1: deflate(   6307850,    4263826)   2935154(null)
chunk   2: normal   (10571676,      12388)         186
zhsun@ubuntu64:~/proj/firefly-rk3288$ ls /home/zhsun/proj/firefly-rk3288/out/target/product/rk3288/system/
appbuild.propfonts      lib         media   ttsvendor
binetc         frameworkmanifest.xmlpriv-appusrxbin
zhsun@ubuntu64:~/proj/firefly-rk3288$ sudo ./mkimage.sh
TARGET_PRODUCT=rk3288
TARGET_HARDWARE=rk30board
system filesysystem is ext4
create boot.img without kernel... done.
create recovery.img with kernel and with out resource... done.
create misc.img.... done.
create system.img... ls: cannot access /home/zhsun/proj/firefly-rk3288/out/target/product/rk3288/system.img: No such file or directory
./mkimage.sh: line 91: [: -gt: unary operator expected
Please make first!!!

暴走的阿Sai 发表于 2015-8-26 10:08:51

编译完成后应该是有一个system.img的,mkimage.sh 是打包命令。先检查一下make之后编译后有没有system.img

mayuyang 发表于 2015-8-26 10:14:01

暴走的阿Sai 发表于 2015-8-26 10:08
编译完成后应该是有一个system.img的,mkimage.sh 是打包命令。先检查一下make之后编译后有没有system.img

就是编译之后没有system.img

mayuyang 发表于 2015-8-26 10:15:50

暴走的阿Sai 发表于 2015-8-26 10:08
编译完成后应该是有一个system.img的,mkimage.sh 是打包命令。先检查一下make之后编译后有没有system.img

zhsun@ubuntu64:~/proj/firefly-rk3288/rockdev/Image-rk3288$ ls
boot.imgmisc.imgpcba_small_misc.imgpcba_whole_misc.imgrecovery.img

暴走的阿Sai 发表于 2015-8-26 10:18:03

不用make clean,再make一次,看看编译到最后的有无提示生成system.img

zhansb 发表于 2015-8-26 11:01:30

rm -rf out后,不用root权限重新编译后试试看

mayuyang 发表于 2015-8-26 14:43:58

暴走的阿Sai 发表于 2015-8-26 10:18
不用make clean,再make一次,看看编译到最后的有无提示生成system.img

第三次 make之后system.img竟然神奇的出现了

a6228 发表于 2018-5-25 21:34:23

我也遇到了这个问题,反复编译没有生成system.img,怎么破。

yiyouchen 发表于 2018-6-6 09:22:37

a6228 发表于 2018-5-25 21:34
我也遇到了这个问题,反复编译没有生成system.img,怎么破。

你好,你这个问题解决了吗
页: [1]
查看完整版本: RK3288 编译android 没有生成system.img