4
answers
1
watching
113
views

Using Android Studio Flamingo version 22.1 patch and Flutter ver 3.7.10

I get this message after running my flutter code under Android Studio

Exception: No Windows desktop project configured. See to learn about adding Windows support to a project.

My Flutter Code - 

import 'package:flutter/material.dart';

void main() {
runApp(MyApp());
}

class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
backgroundColor: Colors.teal,
body: SafeArea(
child: Column(
children: <Widget>[
CircleAvatar(
radius: 50.0,
backgroundImage: AssetImage('images/david.jpg'),
),
Text(
'David Lee',
style: TextStyle(
fontFamily: 'Pacifico',
fontSize: 40.0,
fontWeight: FontWeight.bold
),
),
],
)),
)
);
}
}

 

Even though I have Windows installed see screenshot.

For unlimited access to Homework Help, a Homework+ subscription is required.

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Already have an account? Log in
Avatar image
Read by 1 person
Already have an account? Log in
Avatar image
Read by 1 person
Already have an account? Log in

Related questions

Weekly leaderboard

Start filling in the gaps now
Log in