안드로이드 디버그 브리지

Jmnote bot (토론 | 기여)님의 2021년 9월 24일 (금) 23:18 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요[ | ]

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

2 버전 확인[ | ]

C:\Users\zetawiki>d:

D:\>cd D:\adt-bundle\sdk\platform-tools

D:\adt-bundle\sdk\platform-tools>adb version
Android Debug Bridge version 1.0.31

3 기기 목록 보기[ | ]

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

4 가상기기 켜기[ | ]

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   offline
→ 가상기기 1대가 연결되었으나, 오프라인. 좀더 기다리면 온라인이 될 것이다.
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554   device
→ 가상기기 1대가 온라인.

5 같이 보기[ | ]

6 참고[ | ]

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