不久前,我的android工作室遇到了一个问题。它找不到我的手机。我得到了这个错误: Unable to run 'adb': null
'C:\Users\Gebruiker\AppData\Local\Android\Sdk\platform-tools\adb.exe start-server' failed -- run manually if necessary 当我打开任务管理器时,我可以看到adb.exe打开了多次,但我无法强制停止它。 我以前没有遇到过这个问题。我在网上找了所有能找到的东西。我多次删除和下载android studio,确保所
当我连接我的redmi Note5 pro并尝试运行android时,我在android studio上收到了这个警告。
Adb连接错误:现有连接已被远程主机强制关闭。
我已经试过了
adb kill-server && adb start-server
remove any adb process in the taskbar
restart studio, clean and rebuild
我正在尝试学习Xamarin,但是我的设置发生了一些事情,我无法再通过单击Debug/Run按钮在模拟器中打开我的应用程序。它所做的就是打开或激活(如果已经打开) Android设备管理器。
输出窗口(生成)声明:
The debug was canceled. Please create an android emulator to debug the application.
我已经创建了一个仿真器,它可以工作。当我试图运行我的应用程序时,模拟器正在运行。
此外,Android设备管理器中会弹出一个消息框,其中说:
Device Manager
Device error: error:
我使用的是Android Studio (1.2.2版)。在运行几次之后,我想断开与adb/logcat输出的连接,而不必完全重新启动Android Studio。我需要能够断开连接,因为有多个人在使用这些设备。
如果我点击Run菜单中的'X‘(终止程序),它就会停止程序,但是logcat输出会一直在移动,而adb端口会被Studio保持打开状态。如何关闭此连接?