May 2017
Beginner to intermediate
470 pages
10h 49m
English
After we have the repo tool, we can initialize the repo and download the AOSP source tree by executing the following commands:
$ repo init -u https://android.googlesource.com/platform/manifest -b android-7.1.1_r4$ repo sync
Pay attention to the AOSP tag android-7.1.1_r4 here. This is the version of AOSP source code that we use throughout this book.
It will take quite a long time to get the AOSP source tree. After we get the source tree, let's take a look at the top level folders:
$ ls -Fabi/ cts/ docs/ libcore/ packages/ tools/art/ dalvik/ external/ libnativehelper/ pdk/bionic developers filelist Makefile prebuiltsbootable development frameworks ndk sdkbuild device hardware ...
Read now
Unlock full access