How do I execute an adb command in Android Studio?

This question already has an answer here:

  • 'adb' is not recognized as an internal or external command, operable program or batch file 16 answers

  • $ isn't part of the command. Use adb shell monkey -p your.package.name -v 500

    adb is the command you ran on your terminal. For example:

    adb devices
    

    shows you the connected devices.

    adb shell
    

    Starts a remote shell in the target emulator/device instance.

    See https://developer.android.com/studio/command-line/adb.html for more info about adb.

    链接地址: http://www.djcxy.com/p/94284.html

    上一篇: 过滤器或分析器将英文数字和阿拉伯数字等同起来

    下一篇: 如何在Android Studio中执行adb命令?