[英]Flutter Unexpected failure from adb: Invalid argument(s): The source must not be null Error launching application on device
I am new to flutter. 我是新来的扑扑。 I have created flutter project and while am trying to run the same in my android device.
我创建了flutter项目,并试图在我的android设备中运行该项目。 I was getting this error::
我收到此错误::
Unexpected failure from adb: Invalid argument(s): The source must not be null Error launching application on motorola one power. 来自adb的意外故障:无效的参数:来源不能为null在Motorola一种电源上启动应用程序时出错。 Exited (sigterm)
退出(sigterm)
This issue is because of ADB configuration: 此问题是由于ADB配置引起的:
I have changed my laptop recently and forgot to configure Android sdk in Environment variables. 我最近更换了笔记本电脑,忘记在环境变量中配置Android sdk。
Possibilities: 可能性:
Once the device is recognized then try deploying flutter project again it will work. 一旦识别出设备,然后尝试再次部署flutter项目,它将起作用。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.