Reader small image

You're reading from  Learning Embedded Android N Programming

Product typeBook
Published inJul 2016
Reading LevelIntermediate
PublisherPackt
ISBN-139781785282881
Edition1st Edition
Languages
Tools
Right arrow
Author (1)
Ivan Morgillo
Ivan Morgillo
author image
Ivan Morgillo

Ivan Morgillo is a computer engineer, a conference speaker, and a community organizer. He is passionate about programming and embedded systemsfrom DIY domotics to Android devices. He is cofounder of Alter Ego Solutions, a mobile development consulting company. He is also the author of RxJava Essentials, by Packt Publishing and Grokking Rx, by Manning Publications.
Read more about Ivan Morgillo

Right arrow

Getting ready


As we already know, Google is the official manager of the entire hardware infrastructure supporting Android—everything is hosted and maintained by Google. The source code repository also provides a web UI to graphically navigate the source code. This source code browser is available at https://android.googlesource.com/.

The following screenshot shows an example of what the page looks like:

Every single item of the list shown in the previous screenshot is a git repository. This can give you a perfect idea of the importance of Google's repo tool—manually managing this many repositories would be pure madness! Using repo, retrieving, downloading, and creating the proper folder structure is a few-lines' task. Let's do it!

First things first—create a working folder. Open a Terminal and create a folder like this:

~$ mkdir WORKING_DIRECTORY
~$ cd WORKING_DIRECTORY

Once in the folder, run:

~/WORKING_DIRECTORY$ repo init -u https://android.googlesource.com/platform/manifest

The URL specifies...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Learning Embedded Android N Programming
Published in: Jul 2016Publisher: PacktISBN-13: 9781785282881

Author (1)

author image
Ivan Morgillo

Ivan Morgillo is a computer engineer, a conference speaker, and a community organizer. He is passionate about programming and embedded systemsfrom DIY domotics to Android devices. He is cofounder of Alter Ego Solutions, a mobile development consulting company. He is also the author of RxJava Essentials, by Packt Publishing and Grokking Rx, by Manning Publications.
Read more about Ivan Morgillo