"안드로이드 디버그 브리지"의 두 판 사이의 차이

4번째 줄: 4번째 줄:
==버전 확인==
==버전 확인==
<source lang='dos'>
<source lang='dos'>
C:\Users\jmnote>d:
D:\>cd D:\adt-bundle\sdk\platform-tools
D:\adt-bundle\sdk\platform-tools>adb version
D:\adt-bundle\sdk\platform-tools>adb version
Android Debug Bridge version 1.0.31
Android Debug Bridge version 1.0.31

2012년 12월 12일 (수) 14:26 판

Android Debug Bridge; ADB
안드로이드 디버그 브리지
  • ADT(안드로이드 개발도구)와 장치(가상기기 또는 실제기기)간 인터페이스

1 버전 확인

C:\Users\jmnote>d:
D:\>cd D:\adt-bundle\sdk\platform-tools
D:\adt-bundle\sdk\platform-tools>adb version
Android Debug Bridge version 1.0.31

2 기기 목록 보기

D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554   device
012a3bcd45678901        device
→ 현재 2개의 장치가 연결되어 있음(온라인 상태)
→ emulator-5554 는 가상기기
→ 012a3bcd45678901는 실제기기의 시리얼 번호

3 가상기기 켜기

D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
→ 연결된 기기가 없음
D:\adt-bundle\sdk\platform-tools>..\tools\android.bat list avd
Available Android Virtual Devices:
    Name: AVD_for_Nexus_S_by_Google
    Path: C:\Users\jmnote\.android\avd\AVD_for_Nexus_S_by_Google.avd
  Target: Android 4.2 (API level 17)
     ABI: armeabi-v7a
    Skin: 480x800
→ AVD_for_Nexus_S_by_Google 라는 이름의 가상기기가 있음
D:\adt-bundle\sdk\platform-tools>..\tools\emulator.exe @AVD_for_Nexus_S_by_Google
→ 에뮬레이터가 구동된다
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554   device
→ 가상기기 1대가 연결됨.

4 같이 보기

5 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}