728x90

install ubuntu 12.04 


source code download

참고 : https://source.android.com/source/downloading.html

$ mkdir ~/bin
$ PATH=~/
bin:$PATH
$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
$ chmod a
+x ~/bin/repo
 $ repo init -u http://git.android-x86.org/manifest -b kitkat-x86
 $ repo sync

install required packages(Ubuntu 12.04

$sudo apt-get install git 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 tofrodos \
  python
-markdown libxml2-utils xsltproc zlib1g-dev:i386
$ sudo ln
-s /usr/lib/i386-linux-gnu/mesa/libGL.so.1 /usr/lib/i386-linux-gnu/libGL.so

한번에 다 설치하면 종속성 때문에 설치가 안될 수 있으니 차근차근 나눠서 설치


Initialize


$ source build/envsetup.sh

$ lunch 

5. android_x86-eng

선택


Build

$ make -j4



아래의 에러를 만나서 진행이 안되는 중..ㅠㅠ


UNEXPECTED TOP-LEVEL EXCEPTION:

com.android.dex.util.ExceptionWithContext

at com.android.dex.util.ExceptionWithContext.withContext(ExceptionWithContext.java:45)

at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:377)

at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:139)

at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:94)

at com.android.dx.command.dexer.Main.processClass(Main.java:682)

at com.android.dx.command.dexer.Main.processFileBytes(Main.java:634)

at com.android.dx.command.dexer.Main.access$600(Main.java:78)

at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:572)

at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)

at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)

at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)

at com.android.dx.command.dexer.Main.processOne(Main.java:596)

at com.android.dx.command.dexer.Main.processAllFiles(Main.java:498)

at com.android.dx.command.dexer.Main.runMonoDex(Main.java:264)

at com.android.dx.command.dexer.Main.run(Main.java:230)

at com.android.dx.command.dexer.Main.main(Main.java:199)

at com.android.dx.command.Main.main(Main.java:103)

Caused by: java.lang.NullPointerException

at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:87)

at com.android.dx.cf.code.ConcreteMethod.<init>(ConcreteMethod.java:75)

at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:277)

... 15 more

...while processing <init> (Lcom/android/internal/telephony/gsm/GSMPhone;)V

...while processing com/android/internal/telephony/gsm/GSMPhone$1.class


1 error; aborting

make: *** [out/target/common/obj/JAVA_LIBRARIES/telephony-common_intermediates/classes-with-local.dex] Error 1



728x90

'BlueTooth > 기본기' 카테고리의 다른 글

bluetooth timeout spec  (1) 2016.01.28
RFComm  (0) 2016.01.07
GPP(Generic PIM Profile)  (0) 2015.12.15
Paging and Inquiry  (0) 2015.11.26
AVDTP signaling/Media  (0) 2014.10.23
BLE 4.1  (0) 2014.06.25
Security Mode  (1) 2014.06.24
Vega series에서 HID가 connecting state에 머물러 있음  (0) 2014.03.27
Bluetooth Packet Type  (0) 2013.11.06
quoted-printable decoder  (0) 2013.06.03

+ Recent posts