Android 7 source Download "Go"

Source: Internet
Author: User

This article was reproduced from: http://www.jianshu.com/p/0799435daf8e

Download of Android 7 source code

Step

1、ubuntu 环境
2、打开终端(快捷键:ctrl + alt + t)
3、执行命令:wget https://mirrors.tuna.tsinghua.edu.cn/aosp-monthly/aosp-latest.tar(压缩包约20G,非常耗时)
4、解压下载的压缩包(执行命令:tar xvf aosp-latest.tar)
5、进入aosp文件夹,执行命令:repo sync(中途出错,重复执行命令:repo sync)

Reference: https://mirrors.tuna.tsinghua.edu.cn/help/AOSP/

Note: Download this set of source code can be compiled normally, you can also start the simulator.

Compiling android7.0 Updates
添加openjdk8的第三方源
    sudo add-apt-repository ppa:openjdk-r/ppa
执行更新
    apt-get update
安装openjdk8
    sudo apt-get install openjdk-8-jdk
选择版本
    update-alternatives –config Java
查看版本
java -version

Switch JDK version

update-alternatives --config java
Error and modification

MODULE. TARGET. Static_libraries.libgtest already defined by external

Unset ndk_root

Reference links
    1. Android7.0 source code compilation Run Guide

    2. DIY compilation Android7

      ?



Xia da 2019
Links: http://www.jianshu.com/p/0799435daf8e
Source: Pinterest
Copyright belongs to the author. Commercial reprint please contact the author for authorization, non-commercial reprint please specify the source.

Android 7 source Download "Go"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.