Android 9 build error with clean AOSP build

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

Android 9 build error with clean AOSP build

跳至解决方案
4,624 次查看
vinothkumars
Senior Contributor IV

Dear NXP,

 

I am working on IMX8QM with Android 9. I got build error after with clean Android 9 build. 

Build Steps,

     source build/envsetup.sh

     lunch mek_8q_car-userdebug

     make clean 

 

     make -j6

OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000000d4400000, 132120576, 0) failed; error='Not enough space' (errno=12)
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 132120576 bytes for committing reserved memory.

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
回复
1 解答
3,945 次查看
vinothkumars
Senior Contributor IV

Build was done. once reboot the system

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar

在原帖中查看解决方案

0 项奖励
回复
3 回复数
3,946 次查看
vinothkumars
Senior Contributor IV

Build was done. once reboot the system

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
回复
3,945 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello VinothS,

The AOSP is supported by Google so I would suggest that you consult the Google Developer Forums.

It seems, however, that you need more RAM (or SWAP) memory for building Android. Please review the requirements from the Android Source repository:

https://source.android.com/setup/build/requirements

I hope this helps.
Regards,

0 项奖励
回复
3,944 次查看
vinothkumars
Senior Contributor IV

Thank you Gusarambula,

Thanks & Regards,

VinothS,

Regards,
Vinothkumar Sekar
0 项奖励
回复