Trong Android, ADB là gì?
Trong Android, ADB là gì?
ADB (Android Debug Bridge) là công cụ dòng lệnh (trong Platform-Tools) để giao tiếp với thiết bị/ emulator. Gồm client, daemon adbd trên thiết bị và server trên máy.
adb devices # liệt kê thiết bị
adb install -r app-debug.apk # cài / cài đè
adb uninstall com.example.app
adb logcat -s MyTag # xem log
adb shell # shell trên thiết bị
adb shell pm list packages | grep example
adb shell am start -n com.example/.MainActivity
adb shell dumpsys activity | grep -i mResumed
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.