꿈소년의 개발 이야기

[Android Framework] Android full source framework build or Debugging by eclipse. 본문

Android Development

[Android Framework] Android full source framework build or Debugging by eclipse.

꿈소년 2010. 11. 11. 22:16
반응형

Android Full Source Compile And Debugging or Error

소스 다운로도는 
http://source.android.com/source/donwload.html

Ubuntu 10.04 Linux 64Bit 
JAVA 5.X 11Updated over

make 시에 Error .. 
case 1> zlib.a zlib.so 에레일 경우 => 나의 경우 CPU는 64bit인데 Linux 32Bit를 깔아 버렀다.
인터넛에 떠더는 모든 에레는 다 만나고 결 국 은 Linux 64Bit로 깔아서 Android 문서 그데로
설정해서 컴파일 함.

debugging error
javalib.jar - .../out/target/common/obj/JAVA_LIBRARIES/google-common_intermediates(missing)

javalib.jar - .../out/target/common/obj/JAVA_LIBRARIES/gsf-client_intermediates (missing) 

이럴 경우


위의 두구의 자르를 지우고
<classpathentry kind="lib" path="out/target/common/obj/JAVA_LIBRARIES/android-common_intermediates/javalib.jar"/> 추가 (ClassPath에 수중해서 적용이 안되면 알아서
이클립스 자르를 추가...>

제거
<classpathentry kind="src" path="packages/apps/DeskClock/src"/>

추가
<classpathentry kind="src" path="out/target/common/obj/APPS/ContactsProvider_intermediates/src/src"/>
<classpathentry kind="src" path="out/target/common/obj/APPS/CalendarProvider_intermediates/src/src"/> 


....
총 3일 걸렸다.. ㅠㅠ 왜케 쉽게 되는것이 없을까나.


부가 정보
Debugging the emulator with Eclipse

You can also use eclipse to debug the emulator and step through code. First, start the emulator running:

cd /path/to/android/root 
. build/envsetup.sh //이것을 해야 emulator path가 잡힌다.
lunch 1 # to build the emulator 
emulator # you should see a GUI picture of a phone 
In another shell, start DDMS (the Dalvik debug manager):

cd /path/to/android/root 
ddms # you should get a splufty debugging console

'Android Development' 카테고리의 다른 글

[Window] Android Window를 제어하는 방법  (0) 2011.01.04
[z4root] Android Rooting by z4root  (0) 2010.12.04
[LogCat] Logcat 텍스트 파일 보기  (0) 2010.11.11
[Dialog] ANR Dialog  (0) 2010.11.11
액티비티 태스크  (0) 2010.10.18