Emulator field grayed out “not applicable for the main.dart configuration”

1,029 views
Skip to first unread message

malm...@drew.edu

unread,
Jul 5, 2020, 10:10:57 PM7/5/20
to Flutter Development (flutter-dev)
Hello guys.
So i just bought new mac. i installed Android studio, x code and flutter. the emulator field is grayed out and says "not applicable for the main.dart configuration". 

I cloned the code from Github. 

When i ran it from the terminal, it gives me this error 
"FAILURE: Build failed with an exception. * Where: Build file '/Users/mahmoudalminawi/AndroidStudioProjects/MyPhotos/android/app/build.gradle' line: 58 * What went wrong: A problem occurred evaluating project ':app'. > Cannot convert URL 'C:/Users/MOMO/AndroidStudioProjects/scaner/phot"

Please help!

Than kyou so much 

Souvik Dutta

unread,
Jul 5, 2020, 10:27:17 PM7/5/20
to malm...@drew.edu, Flutter Development (flutter-dev)
Have you installed flutter properly?

Souvik flutter dev

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/77b530f5-677f-4e65-8369-272450ff6d15n%40googlegroups.com.

malm...@drew.edu

unread,
Jul 5, 2020, 10:31:15 PM7/5/20
to Flutter Development (flutter-dev)
yes. 
other apps work fine. except this one. i cloned the app from github (i uploaded the code on git hub from my windows machine)

Souvik Dutta

unread,
Jul 5, 2020, 11:25:16 PM7/5/20
to malm...@drew.edu, Flutter Development (flutter-dev)
Can you share a screenshot of your android studio?

Souvik flutter dev

malm...@drew.edu

unread,
Jul 6, 2020, 9:09:59 AM7/6/20
to Flutter Development (flutter-dev)
Screen Shot 2020-07-06 at 9.08.28 AM.png
Screen Shot 2020-07-06 at 9.08.03 AM.png

malm...@drew.edu

unread,
Jul 6, 2020, 9:34:39 AM7/6/20
to Flutter Development (flutter-dev)
Screen Shot 2020-07-06 at 9.33.59 AM.png

malm...@drew.edu

unread,
Jul 6, 2020, 9:38:19 AM7/6/20
to Flutter Development (flutter-dev)
attached is build gradle. when i run fromm the terminal, it gives me this error. kindly find attached.

Screen Shot 2020-07-06 at 9.35.38 AM.pngScreen Shot 2020-07-06 at 9.36.56 AM.png

On Monday, July 6, 2020 at 9:09:59 AM UTC-4 malm...@drew.edu wrote:
Reply all
Reply to author
Forward
0 new messages