Android Studio hang when starting emulator - android-emulator

Android emulator can not boot and also
Android Studio is hanged when starting emulator.
My OSX version is Big Sur 11.0 Beta and Android Studio version 4.0.1.
Does anyone have experience in?

Related

Intellij and cocoa pods error Installing flutter on my macOS

I am trying to install flutter on my macOS Catalina for overs 3 days this 2 error refuse to allow me.
[✓] Android Studio (version 2021.2)
[✗] Cannot determine if IntelliJ is installed
✗ Directory listing failed
!] Xcode - develop for iOS and macOS
! CocoaPods 1.5.2 out of date (1.10.0 is recommended).
please help me with the solution of this issue
reinstall IntelliJ if you have it.
you have to update cocoapods below is command
brew upgrade cocoapods

How to run Flutter commands on Android Studio Terminal

I can run the flutter project from the macOS terminal and Android Studio, but I can't run from Android Studio terminal.
Macbook Air M1
macOS Monterey 12.2
Android Studio Bumblebee | 2021.1.1 Patch 1
caps1
caps2
caps3
if Android Studio doesen't find the command flutter then Android Studio doesen't find the flutter sdk.
so please look if the path of the flutter sdk is correctly wittend.

my flutter app do not run in iphone device from android studio

When I run for the application from the xcode it works, and same thing
in simulator , but when I do the run from the Android Studio in iphone
device, It displays a white screen and then shuts down, and it appears
like this :
Launching lib/main.dart on iPhone in debug mode...
Automatically signing iOS for device deployment using specified development team in Xcode project: 7R6D66J964
Running Xcode build...
Xcode build failed due to concurrent builds, will retry in 2 seconds.
Xcode build done. 44.9s
Installing and launching...
Error launching application on iPhone.
flutter doctor :
[✓] Flutter (Channel master, 1.24.0-2.0.pre.55, on Mac OS X 10.15.7 19H2 darwin-x64, locale en-JO)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Android Studio (version 4.1)
[✓] Connected device (3 available)
! Error: iPhone is busy: Copying cache files from device. Xcode will continue when iPhone is finished. (code -10)
• No issues found!
Open Xcode
go to Wondow -> Devices & simulator
your phone showing left side
right click on that and unpair
no pair the device and it's working properly

Not found 'X Android SDK file not found: C:\Users\smart\AppData\Local\Android\Sdk\platforms\android-30\android.jar.'

I have installed flutter on windows10
and set environment variables successfully
and installed android studio with their all sdk
but when i perform the command flutter doctor throw me this error.
i browsed for it and got some answers (this) and applied that too but nothing happend.
√] Flutter (Channel stable, v1.17.5, on Microsoft Windows [Version 10.0.18363.900], locale en-IN)
[!] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
X Android SDK file not found: C:\Users\smart\AppData\Local\Android\Sdk\platforms\android-30\android.jar.
[√] Android Studio (version 4.0)
[√] VS Code (version 1.47.1)
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Can you check if Android SDK Build-Tools, Android SDK Platform-Tools & Android SDK Tools (Obsolete) are installed?
Okay I got it.
Actually flutter needs latest SDK platforms means android 10.0+ (R) and API Level: 30 which hadn't installed that's why, was throwing this error X Android SDK file not found: C:\Users\smart\AppData\Local\Android\Sdk\platforms\android-30\android.jar.
To solving this:
-open android studio
-goto configure
-choose SDK Manager
-select Android SDK
-select Android 10.0+ (R) , API Level:30 (because for now it is latest)
-apply for download
after downloaded just run command flutter doctor
and then issue will be gone.

Installing flutter osx error VS code

I'm trying to install Flutter on my mbp. I'm getting an error wit the VS code version, as I believe in Android studio. I've also installed VS code, the program, this is the latest version. In studio, I think I also have the latest version. When I enter 'flutter doctor', I'm getting the next list:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, v0.5.1, on Mac OS X 10.13.6 17G65, locale nl-NL)
[✓] Android toolchain - develop for Android devices (Android SDK 25.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
[✓] Android Studio (version 3.1)
[!] VS Code (version 1.16.1)
[✓] Connected devices (1 available)
Does anyone have a clue how to solve this?
This was a bug in Flutter. Our detection of extensions was case-sensitive and a VS Code update changed the casing in the extensions folder. It didn't affect any functionality, only the mis-reporting of the extension.
I fixed the bug a while back, and it was included in the most recent beta channel update, so if you run flutter upgrade this should no longer occur. Sorry for the confusion!