Welcome

강좌


안드로이드는 리눅스 기반의 플랫폼이므로 우분투에서 설치하는 방법을 알아보도록 하겠습니다.

 

플랫폼은 Ubuntu 9.10, Eclipse (galileo), Android 2.10입니다.

 

1. Ubuntu 설치

   http://www.ubuntu.com 에서 다운받아 설치합니다.

 

2. Eclipse 설치

   프로그램에서 우분투 소프트웨어 센터에서 Eclipse를 선택하여 설치합니다.

 cf-1.JPG

 

3. Android SDK 설치

   http://developer.android.com/sdk/index.html 에서 Linux용으로 다운받은 후 home폴더 에 설치후

  .bashrc파일 제일 마지막라인에 export PATH=${PATH}:~/android-sdk-linux_86/tools를 추가하여 실행할 수 있도록 경로를 설정합니다.

  

4.  ADT설치

   Eclipse에서 Help메뉴 아래의 install new software를 실행합니다.

   Work with 창에 다음과 같이 입력후 add룰 누르세요. (https://dl-ssl.google.com/android/eclipse/)

 

 ※ 오류

     Cannot complete the install because one or more required items could not be found.
     Software being installed: Android Development Tools
     0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group 
      0.9.5.v200911191123-20404)
     Missing requirement: Android Development Tools
      0.9.5.v200911191123-20404 (com.android.ide.eclipse.adt.feature.group
     0.9.5.v200911191123-20404) requires 'org.eclipse.wst.xml.ui 0.0.0' but
     it could not be found 

     위와 같은 메세지가 뜨면서 설치가 안되는경우는 

     이클립스에서 Help → Install New Software에서 http://download.eclipse.org/releases/galileo/
     주소를 Add하시고 목록이 쭉 뜨면 filter 검색란에 WST라고 두가지중 아래항목을 선택해서 설치하시면 됩니다.

 

   cf-2.JPG

 

 ※ 오류

  An error occurred while installing the items
  session context was:(profile=PlatformProfile,
  phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Install,
  operand=null --> [R]org.eclipse.ant.ui 3.4.1.v20090901_r351,
  action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
  The artifact file for osgi.bundle,org.eclipse.ant.ui,
  3.4.1.v20090901_r351 was not found.

  위와 같은 메세지가 뜨면서 설치가 안되는 경우는

  우분투에서 시스템 → 관리 →시냅틱 패키지 관리자 → "eclipse"검색하시고 체크하시면 됩니다.


cf-3.JPG


5. Android SDK components 추가
    터미널에서 설치된 경로에 있는 tools 폴더로 이동 후 ./android를 친 후 Available Packages에서 필요한 버젼을 선택합니다.
 
cf-4.JPG 
  ※ 오류
    검색이 안될경우 Settings에서 그림과 같이"강제" 버튼을 선택합니다.
 
 cf-5.JPG  
6. AVD생성하기
  터미널에서 android를 친 후 Virtual Devices에서 생성합니다.
   cf-6.JPG 
 지금까지 설치방법에 대해서 설명드렸습니다.

클레이

2010.01.13 00:47:40

와~~ 드디어 강좌 시작인가요.

List of Articles
번호 제목 글쓴이 날짜 조회 수sort
공지 Android [기초강좌] 안드로이드 스마트폰 사용법 모음 anti 2013-07-30 10371
44 Android 안드로이드 apk 파일 만들기 file anti 2010-10-10 36948
» Android 우분투에 안드로이드 SDK 설치하기 file [1] anti 2010-01-13 35210
42 Android 이클립스 오류 - Cannot refer to a non-final variable text inside an inner class defined in a different method anti 2010-10-29 29038
41 Android 이클립스 오류 - error: Error parsing XML : unbound prefix anti 2010-10-21 27297
40 Android 넥서스원(NexusOne) 스크린캡쳐 file anti 2010-03-25 22396
39 Android [기초강좌] 주소록(연락처) 백업 및 동기화 anti 2013-08-01 17021
38 Android 안드로이드 강좌 UI - Layout anti 2010-10-10 16534
37 Android 넥서스원 안드로이드 프로요 2.2.1에서 2.2로 다운그레이드 anti 2010-09-30 16518
36 Android 넥서스원(Nexus One) 바탕화면 정리 file anti 2010-03-30 16300
35 Android 에뮬레이터에 apk파일 설치방법 anti 2010-02-25 15933
34 Android android emulator 스킨을 바꾸어보아요 file [1] anti 2010-01-17 14257
33 Android 우분투 Linux에서 adb명령어 에러 anti 2011-09-04 14103
32 Android 안드로이드 강좌 UI - Widget anti 2010-10-20 13746
31 Android 넥서스원 안드로이드 프로요 2.2.1 업데이트(빌드 FRG83) file anti 2010-09-25 13673
30 Android 드로이드(Droid), 프로요 업데이트 anti 2010-08-05 13088
29 Android 우분투에서 안드로이드폰 스크린캡쳐 오류 file anti 2010-10-10 13034
28 Android 통신사별 APN 설정 file anti 2012-02-22 12148
27 Android 안드로이드 3.0 어플 최적화하기 anti 2011-02-28 11510
26 Android 구글 플레이스토어 결제 카드등록 및 결제내역 확인 file anti 2013-07-22 10746