Set up your development computer

To build Digi Embedded for Android, you need the following:

Note Ubuntu 14.04 is the recommended distribution to build Android 5.1, the version used in the ConnectCore 6. The instructions below are specific to Ubuntu 14.04.

Once you have the Linux machine set up with the correct hardware requirements, and the Digi Embedded for Android sources, set up your development computer to build the Android firmware:

  1. Install OpenJDK 7.
    1. Android version for ConnectCore 6 is 5.1 (Lollipop) and requires Java 7. Install OpenJDK 7 with the following command:
      $ sudo apt-get install openjdk-7-jdk
  2. Install required packages.

    Issue the following command to install the required packages in Ubuntu 14.04:

    $ sudo apt-get install git-core gnupg flex bison gperf build-essential \
      zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 \
      lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache \
      libgl1-mesa-dev libxml2-utils xsltproc unzip \
      uuid-dev zlibc zlib1g zlib1g-dev liblzo2-dev lzop mingw32 tofrodos
    
  3. Install the Digi Embedded for Android sources.
    1. Change the permission of the sources file and execute it to install:
      $ cd ${HOME}
      $ chmod +x dea-<version>.bin
      $ ./dea-<version>.bin
    2. Accept the license agreement and the sources will be installed inside a directory called dea-<version>

Note For more information on how to set up your local work environment to build the Android source files, go to http://source.android.com/source/initializing.html.