我是新来的颤栗。我在尝试跑步时创建了一个简单的颤振项目。我收到这个错误Unexpected failure from adb: Invalid argument(s): The source must not be null
Error launching the application on emulator-5554
这是我的简单颤振应用代码:
import `package:flutter/material.dart`;
void main(){
runApp(
new Center(
child: new Text(
"hello, world",
textDirection: TextDirection.ltr,
)
)
);
}
有人能告诉我可能是什么问题吗?我该怎么修?
最佳答案
这是一个问题,仅仅是因为adb,意味着你的设备或模拟器没有正确连接可能会丢失电缆或其他任何东西,所以请先验证你的设备连接是否完好这个问题关于adb或设备连接。