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?