Android studio 通过WIFI将设备连接到Android studio进行调试的Windows快捷方式?

Android studio 通过WIFI将设备连接到Android studio进行调试的Windows快捷方式?,android-studio,Android Studio,每次在命令提示符下写入代码时,我都无法通过WIFI将设备连接到Android Studio。是否有任何windows快捷方式用于在命令提示符下执行代码,并且需要将设备连接到Android Studio以调试我的应用程序。那太好了 我每次将设备连接到Android Studio时都会写: Connect the device via USB and make sure debugging is working. adb tcpip 5555 find the IP address with adb

每次在命令提示符下写入代码时,我都无法通过
WIFI
将设备连接到Android Studio。是否有任何windows快捷方式用于在命令提示符下执行代码,并且需要将设备连接到Android Studio以调试我的应用程序。那太好了

我每次将设备连接到Android Studio时都会写:

Connect the device via USB and make sure debugging is working.
adb tcpip 5555
find the IP address with adb shell netcfg
adb connect <DEVICE_IP_ADDRESS>:5555
Disconnect USB and proceed with wireless debugging.
adb -s <DEVICE_IP_ADDRESS>:5555 usb to switch back when done
通过USB连接设备,确保调试正常。
亚洲开发银行tcpip 5555
使用adb shell netcfg查找IP地址
亚洲开发银行联网:5555
断开USB连接并继续无线调试。
adb-s:5555 usb,完成后切换回

经过几个小时的搜索,我找到了解决方案。要将设备连接到Android Studio,请执行以下步骤:

步骤:

  • 将设备连接到Android Studio(仅当电脑启动时)
  • 在桌面上保留/粘贴以下文件
  • 根据需要更改此文件,即更改IP地址
  • 然后通过双击保存并运行该文件
  • 文件是
    CoonectDevice.bat

    cd\
    cd c:
    cd C:\Users\user2\AppData\Local\Android\Sdk\platform-tools
    adb connect <DEVICE_IP_ADDRESS>
    
    cd\
    cd c:
    cd C:\Users\user2\AppData\Local\Android\Sdk\platform tools
    亚洲开发银行连接
    
    经过几个小时的搜索,我找到了解决方案。要将设备连接到Android Studio,请执行以下步骤:

    步骤:

  • 将设备连接到Android Studio(仅当电脑启动时)
  • 在桌面上保留/粘贴以下文件
  • 根据需要更改此文件,即更改IP地址
  • 然后通过双击保存并运行该文件
  • 文件是
    CoonectDevice.bat

    cd\
    cd c:
    cd C:\Users\user2\AppData\Local\Android\Sdk\platform-tools
    adb connect <DEVICE_IP_ADDRESS>
    
    cd\
    cd c:
    cd C:\Users\user2\AppData\Local\Android\Sdk\platform tools
    亚洲开发银行连接