[XDA Assist] TEFjLONjDON:
Ok So my builds failed yesterday.

Today I m starting over. I mean completely.

I deleted the VM and reinstalled

I've got my plan for the build environment and how to set up. I'm still stuck at how I'm going to add the cm14 klte repo that I have git cloned

To the android nougat source repo.

my plans are below************************

sudo -i

master111

add-apt-repository "deb http://archive.canonical.com/ lucid partner" **************** not sure

apt-get update

apt-get install sun-java6-jdk ************ use sun-java9-jdk

apt-get install python

apt-get install git-core

apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev libc6-dev lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils

or

apt-get install git-core gnupg flex bison gperf build-essential zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 openjdk-6-jdk tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386

ln -s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

#The next step is optional, but can offer significant performance gains while compiling, by using ccache (a compiler

#cache tool), which caches the output of the compiler, to save time when compiling a file which has not been changed

#since the last compile.

#To enable ccache, edit your ~/.bashrc or ~/.profile file (or equivalent), and add the following line

export USE_CCACHE=1

#After you log out and back in again, this change will take effect.

#By default, the Android build process creates a subfolder named “out” within the root of your source tree. While for

#most users this is best, in some situations it can be advantageous to move the output directory to another file system.

#If, for example, you have a striped RAID array, it is beneficial to store the output directory on this array. All of the

#files within the out directory can be re-generated in the event of filesystem problems (if the sources were held on

#another filesystem).

#To change the output directory to another filesystem, use the command

export OUT_DIR_COMMON_BASE= "********"

#Within the defined output directory, a new folder will be created, named after your current source tree directory. For

#instance, if you have source trees as /source/master1 and /source/master2 and OUT_DIR_COMMON_BASE is set to /output, the

#output directories will be/output/master1 and /output/master2.

#It is therefore important to ensure you do not have multiple sources stored in directories with the same name, as they

#would end up sharing an output directory, with unpredictable results.

#This is only supported when building Jelly Bean (4.1) and newer.

mkdir ~/bin

PATH=~/bin:$PATH

curl $ http://commondatastorage.googleapis....downloads/repo > ~/bin/repo

chmod a+x ~/bin/repo

or

curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

chmod a+x ~/bin/repo

mkdir NOU_SOURCE

cd NOU_SOURCE

repo init -u https://android.googlesource.com/platform/manifest/ -b android-7.0.0_r6

?????????????????repo init -b master????????????????????

repo sync

https://github.com/TheMuppets/propri...or_samsung.git

or

https://github.com/CyanogenMod/andro...lte-common.git

***binaries

make clobber

*****BUILD TIME****

. build/envsetup.sh

lunch

*******SELECT device type*******to install

make -j1 otapackage