Freescale Semiconductor Document Number: AFAQ
Rev. 0, 01/2016
Android™ Frequently Asked
Questions
1 How do I configure the
build information?
For every build, define a BUILD ID and BUILD NUMBER.
In the release package, the BUILD_ID is defined as the
Freescale internal release build number and the
BUILD_NUMBER is defined as the Freescale internal release
date. Customize them in under myandroid/
device/fsl/xxxx/, where "xxxx" is the board name
of the product.
The following is an example to update the BUILD_ID for the
6DualQuad/6DualLite SABRE-SD board:
diff --git a/sabresd_6dq/ b/
sabresd_6dq/
index 446344e..ab631fc 100644
--- a/sabresd_6dq/
+++ b/sabresd_6dq/
@@ -18,5 +18,5 @@
# (like "CRB01"). It must be a single word,
and is
# capitalized by convention.
-export BUILD_ID=-ga-rc3
+export BUILD_ID=-ga-rc4
export BUILD_NUMBER=20150929
© 2016 Freescale Semiconductor, Inc.
How do I download the Android source code behind a firewall?
2 How do I download the Android source code behind a
firewall?
If you have an HTTPS proxy and your firewall supports socks, perform the following steps:
1. Install Dante, which is a socks client.
$ sudo apt-get install dante-client
2. Configure Dante by adding below lines into /etc/.
route {
from: to: . via: DNS_OR_IP_OF_YOUR_SOCKS_SERVER port =
PORT_OF_YOUR_SOCKS_SERVER
proxyprotocol: socks_v5
} resolveprotocol: fake
3. Set the environment variable for HTTP proxy and socks.
$ export https_proxy=...
$ export SOCKS_USER=...
$ export SOCKS_PASSWD=...
4. Download Android code from Google.
$ curl https://dl--repo/repo > ~/bin
Android软件开发 来自淘豆网m.daumloan.com转载请标明出处.