每当我尝试将应用程序运行到模拟器或设备中时都会遇到以下错误。
Installation did not succeed.
The application could not be installed.
List of apks:
[0] 'E:\ParentDirectory\Projests\WorkSpace\app\build\outputs\apk\debug\app-debug.apk'
Installation failed due to: 'Connection refused: connect'
Retry
Failed to launch an application on all devices
我尝试清理并重新构建项目,甚至尝试清除缓存并重新启动 Android 工作室,但没有运气。