1 개요[ | ]
- Android Debug Bridge; ADB
- 안드로이드 디버그 브리지
- 기기와 에뮬레이터 제어 도구
- ADT(안드로이드 개발도구)와 장치(가상기기 또는 실제기기)간 인터페이스
2 버전 확인[ | ]
Console
Copy
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 기기 목록 보기[ | ]
Console
Copy
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554 device
012a3bcd45678901 device
- → 현재 2개의 장치가 연결되어 있음(온라인 상태)
- → emulator-5554 는 가상기기
- → 012a3bcd45678901는 실제기기의 시리얼 번호
4 가상기기 켜기[ | ]
Console
Copy
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
- → 연결된 기기가 없음
Console
Copy
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 라는 이름의 가상기기가 있음
Console
Copy
D:\adt-bundle\sdk\platform-tools>..\tools\emulator.exe @AVD_for_Nexus_S_by_Google
- → 에뮬레이터가 구동된다
Console
Copy
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554 offline
- → 가상기기 1대가 연결되었으나, 오프라인. 좀더 기다리면 온라인이 될 것이다.
Console
Copy
D:\adt-bundle\sdk\platform-tools>adb devices
List of devices attached
emulator-5554 device
- → 가상기기 1대가 온라인.
5 같이 보기[ | ]
6 참고[ | ]
편집자 Jmnote Jmnote bot
로그인하시면 댓글을 쓸 수 있습니다.
- 분류 댓글:
- 안드로이드 (5)
Magisk ― MywikierMagisk ― Mywikier안드로이드 ListView 초간단 예제 ― …안드로이드 그림판 초간단 예제 ― …윈도우 안드로이드개발환경 ADT 설치 ― …