Device not applicable for the “main.dart” configuration ,

前端 未结 7 1346
名媛妹妹
名媛妹妹 2020-12-10 07:13

I use Android Studio as my IDE in coding Flutter. I was able to create 2 projects before this and it worked absolutely fine. I had to clone a repo from Github. The IDE said

7条回答
  •  伪装坚强ぢ
    2020-12-10 07:56

    It solved my problem:

    1. Make sure Flutter plugin is installed in android studio, you can install the plugin from file > setting > plugin
    2. choose flutter SDK path from File > setting> Language & Framework > flutter.

    For my case the flutter sdk path was D:/flutter

提交回复
热议问题