La riproduzione carica il player incorporato di YouTube (modalità privacy avanzata).
Tutorial ADB: come usare i comandi ADB
CanaleArtur SpirinDescrizione dell’autore
Ecco l’elenco dei comandi ADB che abbiamo visto nel video:
Indica a ADB su quale dispositivo eseguire il comando: adb -s *device id*
Installa un’applicazione: adb install *percorso al file*
Disinstalla un’applicazione: adb uninstall *package id*
Ottieni info sull’attività in primo piano: adb shell dumpsys window windows | findstr Focus
Estrai il log dal buffer: adb logcat -d
Pulisci il buffer del log: adb logcat -c
Estrai il log in continuo: adb logcat
Scatta uno screenshot: adb shell screencap /sdcard/Android/screenshot.png
Copia file dall’Android al PC: adb pull /sdcard/Android/log.txt
Copia file dal PC all’Android: adb push example.txt /sdcard/Android
Apri lo shell del dispositivo: adb shell
Cancella i dati di un’app: adb shell pm clear *package id*
Forza la chiusura di un’app: adb shell am force-stop *package id*
Avvia un’attività di un’app: adb shell am start -c android.intent.category.LAUNCHER -a android.intent.action.MAIN -n *package/activity*
Invia un evento tastiera: adb shell input keyevent 3
Invia del testo: adb shell input text "Artur"
Utilizza lo strumento di debug dumpsys: adb shell dumpsys | findstr "DUMP OF SERVICE"
Visualizza le proprietà del dispositivo: adb shell getprop *key*
Informazioni su questo tutorial
Artur Spirin ha pubblicato questo video tutorial di 24:24 il 26 ottobre 2016. È stato visto 268.635 volte su YouTube.
- Canale
- Artur Spirin
- Categoria
- Fai da te e stile
- Durata
- 24:24
- Pubblicato
- 26 ottobre 2016
- Visualizzazioni
- 268.635
- Mi piace
- 1.642
Condividi
Approfondimenti
-
ADB Commands: A Beginner’s Guide - Android Tutorials
android.tutorials.how
ADB (Android Debugging Bridge) is a very useful program made by Google to help Android Developers and users. It’s based on command-line interface and can communicate with an Android device to respond to certain commands…
-
How to Install and Use ADB, the Android Debug Bridge Utility
howtogeek.com
ADB, Android Debug Bridge, is a command-line utility included with Google’s Android SDK. ADB can control your device over USB from a computer, copy files back and forth, install and uninstall apps, run shell commands, a…
-
Using the Android Debug Bridge (adb) - Tutorial
vogella.com
You can access your Android device via the adb command on the command line. An Android virtual device can be freely accessed, a normal Android phone needs to get rooted for full access. For non-rooted devices, adb still…
Questo tutorial in altre lingue
- ENADB Tutorial: How to use ADB
- FRBAD Tutoriel: Comment utiliser la BAD
- ESBAD Tutorial: Cómo usar ADB
- PTADB Tutorial: Como usar ADB
- DEADB Tutorial: Wie ADB verwenden
- NLADB Tutorial: Hoe ADB gebruiken
- RUРуководство АБР: Как использовать АБР
- PLADB Tutorial: Jak korzystać z ADB
- JAADBチュートリアル:ADBを使用する方法
- ARADB البرنامج التعليمي: كيفية استخدام ADB
- HIएडीबी ट्यूटोरियल: एडीबी का उपयोग कैसे करें
- IDADB Tutorial: Cara menggunakan ADB