How do I use ADB on my Android phone?

How do I use ADB on my Android phone?
Answer
Follow these steps to debug using ADB commands:
  1. Find your emulator device ID. Run C:>adb devices . …
  2. Find the package you want to debug. Run adb shell pm list packages . …
  3. Set the app to debug at startup (note the -w) …
  4. Start the app in the emulator. …
  5. Connect Android Studio Debugger. …
  6. Point to source code and set breakpoints.
 

Tìm kiếm

Back
Top