How to connect flutter to Bluestacks emulator?
Yes, You can connect Flutter to Bluestacks.
You have to enable adb
on Bluestacks' configurations, by following:
gear icon > Advanced configs > (marks as true: enable ADB connection)
after that, you must to restart your bluestacks, then open a terminal and go to your Android SDK folder:
%localappdata%/Android/Sdk/platform-tools/
then type the follow commands:
adb connect localhost:5555
So, by now if you type flutter devices
you will get the emulator device name on the list, then you can run your apps on it
In this case what I would like to suggest you is to download GenyMotion. Is a very lightweight emulator and it has its own plugin for Android Studio.
I was on a similar situation with an AMD processor and this was a really helpful way for me to test my apps.
Here is the URL for download: http://cloud.geny.io/
Steps
- Install the latest version(4.180.10.1006) of bluestack
- Open the bluestack
- Enable the adb by setting>preferences>tick "Enable Android Debug Bridge"
- Open the cmd
- Create a flutter project by typing "flutter create [projectName]"
- Access to your project folder by typing "cd projectName"
- Run flutter app by typing "flutter run"
How to enable adb over bluestack
Step1 - Click the setting(gear)
Step2- Click the preference
Step3 - Scroll Down to Enable Android Debug Bridge