Compiling Android for a real-world device
By now, you know everything you need to know about the build system and how to retrieve the source code. Retrieving the proper source code for Google official devices is no big deal, but life isn't always so easy. Working with many different devices, you will certainly come across a manufacturer who is not willing to give the source code away. They are not legally forced to release it. This is an unfortunate scenario that, hopefully, will be considered bad marketing and will disappear in the future.
For our example, instead, we are going to play with two devices that offer great support and that will magnificently serve the purpose.
Nexus 6
The first device we are going to explore is the official Google Nexus ...
Get Learning Embedded Android N Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.