일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |
- mqtt
- JSON
- 아두이노
- STM32F4
- dht11
- Nginx
- Python
- 개발환경
- uno
- ubuntu
- Raspberry Pi 3
- Arduino
- IOT
- orange pi
- parser
- python3
- flask
- rails
- BLE
- nano
- Beacon
- Server
- ruby on rails
- Android
- 오렌지파이
- 라즈베리파이
- Raspberry Pi
- RUBY
- java
- odroid-x2
- Today
- Total
[熱情]
android compile... 본문
1. java SDK 설치
Download Java SDK : jdk-6u37-linux-x64.bin <- 다운로드한다.
다운로드 SIte : http://www.oracle.com/technetwork/java/javase/downloads/jdk6u37-downloads-1859587.html
설치후 작업
mv jdk1.6.0_37/ /usr/lib/jvm/
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/bin/java 1
sudo update-alternatives --install /usr/bin/javadoc javadoc /usr/lib/jvm/bin/javadoc 1
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javaws
sudo update-alternatives --config jar
sudo update-alternatives --config javadoc
제대로 설치되었는 확인
# java -version
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
sudo apt-get install git-core lzop ccache gnupg flex bison gperf build-essential zip curl zlib1g-dev zlib1g-dev:i386 libc6-dev lib32ncurses5 lib32z1 lib32bz2-1.0 lib32ncurses5-dev x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 lib32z-dev libgl1-mesa-glx:i386 libgl1-mesa-dev g++-multilib mingw32 tofrodos python-markdown libxml2-utils xsltproc readline-common libreadline6-dev libreadline6 lib32readline-gplv2-dev libncurses5-dev lib32readline5 lib32readline6 libreadline-dev libreadline6-dev:i386 libreadline6:i386 bzip2 libbz2-dev libbz2-1.0 libghc-bzlib-dev lib32bz2-dev libsdl1.2-dev libesd0-dev squashfs-tools pngcrush schedtool libwxgtk2.8-dev python gcc g++ cpp gcc-4.8 g++-4.8
(ubuntu 13.10 설치환경 참고사이트 : http://forum.xda-developers.com/showthread.php?t=2464683)
3. odroid-x2의 커널과 안드로이드를 다운받아서 컴파일 진행.
wget http://dn.odroid.com/Android_Beta_1.9.0/BSP/kernel_4412.tar.gz