Home > Back-end >  Cannot run Flutter app on Android virtual device
Cannot run Flutter app on Android virtual device

Time:08-10

I created simple Flutter app, installed Nexus virtual device, but when I tried to start an app, I get the error shown below.

Android emulator version 31.3.9.0 (build_id 8700579) (CL:N/A) emulator: INFO: Found systemPath E:\AndroidStudioSettings\system-images\android-30\google_apis_playstore\x86\ emulator: INFO: Found systemPath E:\AndroidStudioSettings\system-images\android-30\google_apis_playstore\x86\ WARNING | unexpected system image feature string, emulator might not function correctly, please try updating the emulator. ERROR | Running multiple emulators with the same AVD ERROR | is an experimental feature. ERROR | Please use -read-only flag to enable this feature. INFO | Duplicate loglines will be removed, if you wish to see each indiviudal line launch with the -log-nofilter flag.

I have the latest Android studio, Android virtual device, Flutter and Dart plugins.

CodePudding user response:

Just go to terminal and run the command:

flutter config --android-sdk pathToYourSDK

If you are not sure where is your Android SDK located, do the following: Go to Tools --> SDK Manager and you will see Android SDK location.

  • Related