"When I tried to run the Dart file on Android Studio, the screen ""Edit configuration"" came up, and an error similar to the following occurred:
Error: Entrypoint does not contain a main function
I would appreciate it if you could tell me how to set it up to eliminate this error.
android-studio flutter
The main
function is missing. The Dart
will first look for the main
function, so be sure to write it.
void main(){}
© 2024 OneMinuteCode. All rights reserved.