I am totally new to Flutter and Dart. I have experience with software development, but mainly using a non-standard language called LiveCode. Now, I want to learn Dart and Flutter. I just followed the installation description from
step by step. I installed flutter with dart, Android Studio and also the SDKs in Studio.
My questions may be annoying as I am totally new here. My apologizes.
I am trying to run Test Drive with a predefined code. It is not working, even after trying for two days now.
1. Problem: Running cmd command: C\scr\flutter> flutter doctor gives two errors:
x Flutter plugin not installed; this adds Flutter specific functionality.
x Dart plugin not installed, this adds Dart specific functionality
I searched for the problem in Google, but nothing really helped. And really, the plugins are installed. Either this error is irrelevant, or something does not correctly point to the SDKs.
2. Problem: AVD Manager: Virtual devices
I defined several virtual devices. Try to start them up ALWAYS results in an error message: AVD Manager: x Unable to locate adb.
But the device comes up nevertheless after some time (30 seconds... or longer).
Often enough, Windows flags the emulated device as not running with the spinning wheel, but clicking Wait it usually comes back. I assume a memory problem.
3. Problem: Running main.dart (the imported Flutter Demo) not working
I an "running"... ) ... but always there are error messages:
Console Error script
Launching lib\main.dart on AOSP on IA Emulator in debug mode...
Running Gradle task 'assembleDebug'...
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...
Error: ADB exited with exit code 1
Performing Streamed Install
adb: failed to install C:\Users\Rolan\AndroidStudioProjects\myapp\build\app\outputs\flutter-apk\app.apk:
Error launching application on AOSP on IA Emulator.
But all is installed. Maybe someone can help. I am wasting hours and hours.
Thank you in advance whoever can skip in... and give some help or point to help in this basic case.
Roland