I'm new to flutter. I created a simple flutter project when I trying to run. I was getting this error Unexpected failure from adb: Invalid argument(s): The source must not be null
Error launching the application on emulator-5554
This is my simple flutter application code:
import `package:flutter/material.dart`;
void main(){
runApp(
new Center(
child: new Text(
"hello, world",
textDirection: TextDirection.ltr,
)
)
);
}
Can anyone suggest me what might be the issue? How should I have to fix it?
This is the issue just because of ADB, Means your device or emulator not connected properly may be losing cable or anything else so please be verify first your device connected perfectly this issue regarding adb or device connection.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With