CC-A80-Android4.4-Building-Guide, Android
[ Pobierz całość w formacie PDF ]
//--> CC-A80 Android source code compile Guide CC-A80Website:http://cubieboard.org/Support:support@cubietech.comVersionV-1.0-20150202AuthorparkerModificationInitial versionCheckCC-A80-Android4.4-Building-Guide 2Table of Contents1.Download android source code .......................................................................................................42.SDK directory structure ...................................................................................................................43.Build a compiler environment .........................................................................................................53.1.install JDK................................................................................................................................53.2. Compile the required package of installation(Ubuntu 12.04)............................................64.directed methods of compiling.........................................................................................................64.1.Compile the kernel....................................................................................................................64.2.Compile the brandy .................................................................................................................94.3. Compile android ...................................................................................................................105.Package SDK..................................................................................................................................116.flash guide .....................................................................................................................................11 Website:http://cubieboard.org/ Support:support@cubietech.com31. Download android source codeGit :git clonehttps://bitbucket.org/cubietech/cc-a80-android4.4_android.gitgit clonehttps://bitbucket.org/cubietech/cc-a80-android4.4_lichee.gitArchive:http://dl.cubieboard.org/model/cc-a80/Source/Android/2. SDK directory structure|---- android| |---- abi| |---- art| |---- bootable| |---- build| |---- cts| |---- dalvik| |---- developers| |---- development| |---- device| | |---- softwinner| | | |---- kylin-common| | | |---- kylin-p1| |---- docs| |---- extemal| |---- frameworks| |---- hardware| |---- libcore//Public platform directory//product differentiation directoryCC-A80-Android4.4-Building-Guide 4| |---- libnativehelper| |---- Makefile| |---- ndk| |---- packages| |---- pdk| |---- prebuilts| |---- sdk| |---- system| └── tools└── lichee|-- brandy|-- buildroot|-- build.sh|-- linux-3.4|-- out|-- README└── tools// package tools//boot source code// The script compiler, cross compiler tool chain// Top level script compiler// The kernel directory3. Build a compiler environment3.1. install JDK$ wget dl.cubieboard.org/software/tools/android/jdk1.6.0_45.tar.gzUnpack:$ sudo tar -xvf jdk1.6.0_45.tar.gz$ sudo vim ~/.bashrcadd:JAVA_HOME=/jdk-path/jdk1.6.0_45export JRE_HOME=/jdk-path/jdk1.6.0_45/jreexport PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATHjdk-paththe: path of Download unpacked JDKWhich saved enforced and verify success:$ source ~/.bashrc&&java -version Website:http://cubieboard.org/ Support:support@cubietech.com5
[ Pobierz całość w formacie PDF ]