Unable to create system.img for android lollipop

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Unable to create system.img for android lollipop

跳至解决方案
1,808 次查看
kishorepoojari
Contributor III

Hello All ,

  When I building android(Lollipop 5.0.0.1) for imx6slevk board , system.img is not able to generate.

Following error is obtained:

Install system fs image: out/target/product/evk_6sl/system_sparse.img

out/target/product/evk_6sl/system_sparse.img+out/target/product/evk_6sl/obj/PACKAGING/recovery_patch_intermediates/recovery_from_boot.p maxsize=481738752 blocksize=4224 total=403801046 reserve=4866048

if [ true = true ]; then \

        simg2img out/target/product/evk_6sl/system_sparse.img out/target/product/evk_6sl/system.img; \

        fi

/bin/bash: line 1: simg2img: command not found

make: *** [out/target/product/evk_6sl/system_sparse.img] Error 127

make: *** Deleting file `out/target/product/evk_6sl/system_sparse.img'

I have installed all package listed in the Android User guide as well as Establishing a Build Environment | Android Open Source Project

still any package are missing...?

please help me sort out this issue...

Regards,

Kishore P

标签 (3)
标记 (1)
0 项奖励
回复
1 解答
1,005 次查看
kishorepoojari
Contributor III

Hello Gusarambula ,

   I have give the full path with the "simg2img" to solve the issue.

if [ true = true ]; then \

        /home/test/Android_Source/out/host/linux-x86/bin/simg2img out/target/product/evk_6sl/system_sparse.img  out/target/product/evk_6sl/system.img; \

        fi

Regards,

Kishore P

在原帖中查看解决方案

2 回复数
1,005 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Kishore Poojari,

Are you still experiencing issues building Android? Have you followed the Android User’s Guide step by step? If so, did you receive any error message when downloading or patching the source code?

0 项奖励
回复
1,006 次查看
kishorepoojari
Contributor III

Hello Gusarambula ,

   I have give the full path with the "simg2img" to solve the issue.

if [ true = true ]; then \

        /home/test/Android_Source/out/host/linux-x86/bin/simg2img out/target/product/evk_6sl/system_sparse.img  out/target/product/evk_6sl/system.img; \

        fi

Regards,

Kishore P