MACE环境搭建

 主要参考https://blog.csdn.net/u012505617/article/details/85763065

1、安装docker     

2、安装NDK

     https://www.linuxidc.com/Linux/2018-03/151326.htm

3、安装bazel

      下载之前记得换源curl https://bazel.build/bazel-release.pub.gpg | sudo apt-key add -

       https://blog.csdn.net/u012505617/article/details/85763065

4、拉取镜像

      docker pull registry.cn-hangzhou.aliyuncs.com/xiaomimace/mace-dev      

    (1)  报错:Unable to pull this image: "No space left on device"

       提示空间不够了,重新设置空间

     https://www.cnblogs.com/ligang0357/p/8297488.html

  (2)FATA[0004] Get https://index.docker.io/v1/repositories/library/centos/p_w_picpaths: x509: certificate has expired or is not yet valid 

    系统时间问题

    https://blog.51cto.com/beijing0414/1633956

5、拉取源码

      git clone https://github.com/XiaoMi/mace.git     

https://blog.csdn.net/intjun/article/details/82349495

https://www.cnblogs.com/missidiot/p/9480033.html

https://blog.csdn.net/asonle/article/details/80880177

https://github.com/XiaoMi/mace

遇到的问题:git config --global http.sslVerify false 

执行Git命令时出现各种 SSL certificate problem 的解决办法

6、安装android studio

     安装jdk https://blog.csdn.net/heiheiya/article/details/80742667

     

原文地址:https://www.cnblogs.com/573177885qq/p/10757784.html