Creating Connection Choose Device: Open your VS Code and from the bottom right corner of your home screen click on the Flutter Device option. Select Device: When you click on the Flutter Device icon, list of available devices will open up in the command palette. Select the emulator you just created.
On Android StudioClick Edit Icon to edit the AVD. Click Show Advanced settings. Change the Internal Storage, Ram, SD Card size as necessary. Click Finish.
Yes, You can connect Flutter to Bluestacks.
You probably configures storage too small and you get this error when the emulator runs out of storage when you install.
Either modify the emulator configuration or uninstall before you install another app.
Open the Android Virtual Device (AVD) manager in Android Studio, edit the emulator and increase "Internal Storage" and restart the emulator.
On android studio
1: Tools > AVD Manager
2: Edit the virtual device
3: Show advenced settings
4: increase internal storage
internal storage
free space used by emulators / virtual devices
Android Studio
Tools
> AVD Manager
menu
icon on right side of emulator / virtual deviceWipe Data
Yes
There you'll see the space will be free up.
For clarity see the below image, 3+ GB space is freed to 1.0 GB.
Your Android Emulator must be running for this to work.
Open a Windows Command Prompt / Mac Terminal.
Go to the directory of the adb.exe
program. (Not necessary if you have this in your PATH.)
On Windows (example location):
cd c:\Android\Sdk\platform-tools\
If you only have one running emulator, you don't need to specify which to connect via adb shell, so just run:
adb shell
If you have multiple emulators, you can specify which one after finding the name using
adb devices
shows running emulators
Connect to the emulator
adb -s emulator-5554 shell
You'll be presented with a shell prompt inside emulator:
You'll have limited permissions, so switch user to root with command:
su
Use the disk filesystem command to see disk usage & available space
df
If you're running out of space, the Use% on /data
will be high. You need to free up space on /data
Free up space by deleting apps you've installed...
Your apps are found in /data/data
:
cd /data/data
It's easier to see your apps by reversing the directory listing sort order so your apps will show at bottom:
ls -ltr
You can delete your app directly here using rm -r
. In the above example the app is stored under com.mobdev.user_interface_intro
:
rm -r /data/data/com.mobdev.user_interface_intro
Repeat for any other apps you want to delete from the emulator to free up space.
You can also delete the app within the running emulator itself. Click on the Square button > Android Settings (Gear Icon)
Click on Apps & Notifications
Find and click on your app
Click on Uninstall
Repeat as necessary for other apps you want to uninstall to free up emulator space.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With