DART-SD410 Android Host Install: Difference between revisions
No edit summary |
|||
Line 2: | Line 2: | ||
This WIKI describes the Host installation process for working with DART-SD410 platform<br/> | This WIKI describes the Host installation process for working with DART-SD410 platform<br/> | ||
= Host (PC) setup requirements = | |||
The host development environment for Android is based on Ubuntu, please install Ubuntu version 14.04 64bit LTS [http://www.ubuntu.com/download/desktop http://www.ubuntu.com/download/desktop] | The host development environment for Android is based on Ubuntu, please install Ubuntu version 14.04 64bit LTS [http://www.ubuntu.com/download/desktop http://www.ubuntu.com/download/desktop] | ||
At least 60GByte free space. | At least 60GByte free space. | ||
== IMPORTANT == | |||
Do not use other Ubuntu releases, other than recommended above. | Do not use other Ubuntu releases, other than recommended above. | ||
== For 64-bit Ubuntu 14.04 == | |||
The complete Android host requirments: [http://source.android.com/source/initializing.html source.android.com/source/initializing.html] Also you can refer to [https://developer.qualcomm.com/qfile/28828/lm80-p0436-2_sw-build-and-install_gd_linux_android_rev_d.pdf Software Build and Installation Guide, Linux Android]. | The complete Android host requirments: [http://source.android.com/source/initializing.html source.android.com/source/initializing.html] Also you can refer to [https://developer.qualcomm.com/qfile/28828/lm80-p0436-2_sw-build-and-install_gd_linux_android_rev_d.pdf Software Build and Installation Guide, Linux Android]. | ||
Line 28: | Line 24: | ||
In addition to the packages requested on the Android website, the following packages are also needed: | In addition to the packages requested on the Android website, the following packages are also needed: | ||
== Installing the OpenJDK == | |||
The master branch of Android in the Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use OpenJDK. Be aware that you must use OpenJDK opposed to previous versions that used SUN Java. | The master branch of Android in the Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use OpenJDK. Be aware that you must use OpenJDK opposed to previous versions that used SUN Java. | ||
Line 40: | Line 36: | ||
$ sudo update-alternatives --config javac | $ sudo update-alternatives --config javac | ||
</pre> | </pre> | ||
== Install fastboot and ADB == | |||
<pre> | <pre> | ||
Line 48: | Line 44: | ||
</pre> | </pre> | ||
== Install GIT == | |||
Please provide correct credentials during git initialization. | Please provide correct credentials during git initialization. | ||
<pre> | <pre> |
Revision as of 13:55, 19 January 2016
This WIKI describes the Host installation process for working with DART-SD410 platform
Host (PC) setup requirements
The host development environment for Android is based on Ubuntu, please install Ubuntu version 14.04 64bit LTS http://www.ubuntu.com/download/desktop At least 60GByte free space.
IMPORTANT
Do not use other Ubuntu releases, other than recommended above.
For 64-bit Ubuntu 14.04
The complete Android host requirments: source.android.com/source/initializing.html Also you can refer to Software Build and Installation Guide, Linux Android.
The following command installs repo:
First: $ sudo apt-get update $ mkdir ~/bin $ PATH=~/bin:$PATH $ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo $ chmod a+x ~/bin/repo
In addition to the packages requested on the Android website, the following packages are also needed:
Installing the OpenJDK
The master branch of Android in the Android Open Source Project (AOSP) requires Java 7. On Ubuntu, use OpenJDK. Be aware that you must use OpenJDK opposed to previous versions that used SUN Java.
Java 7: For the latest version of Android
$ sudo apt-get update $ sudo apt-get install openjdk-7-jdk
Optionally, update the default Java version by running:
$ sudo update-alternatives --config java $ sudo update-alternatives --config javac
Install fastboot and ADB
$ sudo add-apt-repository ppa:nilarimogard/webupd8 $ sudo apt-get update $ sudo apt-get install android-tools-adb android-tools-fastboot
Install GIT
Please provide correct credentials during git initialization.
$ sudo apt-get install git $ git config --global user.email "you@example.com" $ git config --global user.name "Your Name"