英文:
Android studio not showing paired device via wifi or genymotion device in device selection list
问题
我已将设备与Wi-Fi配对,我可以在Android Studio的设备管理器中看到设备名称,但设备未显示在运行我的应用程序的设备列表中。
我也在使用Genymotion设备时遇到了这个问题。
我使用的是Genymotion 3.3.3 版本。
Genymotion设备可以启动,但它们不会出现在设备选择部分。
我还尝试使用以下命令(192.168.110.101是Genymotion设备的IP地址):
.\adb connect 192.168.110.101:5555
结果如下:
已连接到192.168.110.101:5555
但它仍然不起作用。
如何在设备上运行我的应用程序?
英文:
I have paired device with wifi and I can see device name in device manager of android studio
but device is not showing in devices list to run my app.
I have also this problem with geymotion devices,
I have genymotion 3.3.3
genymotion devices can get started but they not appear in device selection part.
I have also tried using this command (192.168.110.101 is genymotion device ip):
.\adb connect 192.168.110.101:5555
and this is result:
already connected to 192.168.110.101:5555
but it's not working.
How can I run my app in a device?
答案1
得分: 0
问题最终通过将tools
和platform-tools
的位置添加到环境变量的path
中得以解决。
然后我进行了Windows重新启动。
英文:
Finally problem solved by adding tools
and platform-tools
location to path
of the environment variables.
Then I did a windows restart.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论