adb란?
(Android Debug Bridge)
Android 기기에 직접 접근하여 패키지를 설치하고 변경할 수 있으며, 기기에서 직접하기 힘든 작업들을 pc에서 명령어를 통해서 할 수 있다.
adb 설치_Windows
SDK 플랫폼 도구 출시 노트 | Android Studio | Android Developers
Android SDK 플랫폼 도구는 Android SDK의 구성요소입니다.
developer.android.com
1. Windows 용 SDK 플랫폼 도구 다운로드 한다.
2. adb 실행을 위하여 관리자 권한으로 명령 프롬프트를 실행해야 한다.
3. 설치했던 adb 폴더로 이동한다.
C:\>cd 'C:<설치 경로>\platform-tools'
4. 아래의 명령어를 통해서 연결된 디바이스 확인한다.
C:\<설치 경로>\platform-tools> adb devices
adb 설치_Linux
1. apt-get install 명령어를 통해서 adb 설치한다.
pincess@DESKTOP-princessDY:/$ sudo apt-get install android-tools-adb android-tools-fastboot
[sudo] password for pincess:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'adb' instead of 'android-tools-adb'
Note, selecting 'fastboot' instead of 'android-tools-fastboot'
The following additional packages will be installed:
android-libadb android-libbase android-libboringssl android-libcrypto-utils android-libcutils
android-libext4-utils android-liblog android-libsparse android-libunwind android-libziparchive
android-sdk-platform-tools-common p7zip p7zip-full
Suggested packages:
android-sdk-platform-tools p7zip-rar
The following NEW packages will be installed:
adb android-libadb android-libbase android-libboringssl android-libcrypto-utils android-libcutils
android-libext4-utils android-liblog android-libsparse android-libunwind android-libziparchive
android-sdk-platform-tools-common fastboot p7zip p7zip-full
0 upgraded, 15 newly installed, 0 to remove and 91 not upgraded.
Need to get 2802 kB of archives.
After this operation, 9643 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
2. 아래와 같이 명령어를 이용하여 연결된 디바이스를 확인한다.
pincess@DESKTOP-princessDY:/$ adb devices
* daemon not running; starting now at tcp:5037
* daemon started successfully
List of devices attached
RF9R8032SVP unauthorized
'Mobile > 🩷 Android' 카테고리의 다른 글
06. Anodroid 진단 도구_drozer 설치 (0) | 2024.04.26 |
---|---|
05. Anodroid 진단 도구_brupsuite 인증서 설치 (0) | 2024.04.25 |
04. Anodroid 진단 도구_정적 분석 (0) | 2024.04.25 |
02. Android 실습 환경 구축_InsecureBankv2 설치 (0) | 2024.04.17 |
01. 안드로이드 루팅_Magisk 이용하기 (0) | 2024.04.12 |