MTK Android 编译环境搭建总结

本文详细总结了MTK Android编译环境的搭建过程,包括对Ubuntu不同版本的源添加、必要软件包的安装、JDK配置、xrdp安装以及编译步骤。在编译过程中需要注意内存要求,遇到内存不足的问题可通过调整Java选项解决。
摘要由CSDN通过智能技术生成

MTK Android 编译环境搭建总结

  • 环境部署
    基本环境需求:
    硬盘: 大于200G
    内存: 大于16G
    OS: ubuntu14.04, ubuntu16.04, ubuntu18.04
    否则空间或内存不足,导致编译错误或编译时间太长。
    测试平台: MTK P23
    1、添加源/etc/apt/sources.list
    14.04:
    deb http://archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ trusty-sercurity main restricted universe multiverse
    16.04:
    deb http://archive.ubuntu.com/ubuntu/ xenial main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ xenial-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu/ xenial-sercurity main restricted universe multiverse
    18.04:
    deb http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multive
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值