Good Morning,
I am having a problem testing my Flutter applications for lack of memory. My computer only has 4GB of RAM and I can't open the emulator for lack of memory, can anyone help me how can I test the app right on my mobile phone?
Step 1: Go to the Extensions button on VSCode and search for Android and iOS Emulator and install it. Note: Change the Emulator path windows address based on the location of the emulator file on your PC but make the Emulator path as default it would be given as default by the VSCode.
You may need to configure Android toolchain (Step 6 to 12).
sdkmanager platform-tools
Install corresponding platform and build-tools for your mobile device.
Example: If your device is Android 9 (Which is Android Pie and API level is 28), then commands are
sdkmanager platforms;android-28
(Usesdkmanager --list
to see all packages available).sdkmanager build-tools;28.0.3
(Usesdkmanager --list
to see all packages available).
Update Environtment path variable with "...\AndroidSDK\platform-tools"
Flutter doctor -v
to check for any issues (You may have to accept android-licences).flutter doctor --android-licenses
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