DEV Community

Setting up flutter without Android studio

Jayesh Kale on September 17, 2019

Sometimes due the hardware constraints or some other reasons developer will prefer light weight solution rather than Big Bulky Android Studio. So h...
Collapse
 
oneohthree profile image
oneohthree

Nice and concise article.

This line: $ sudo mv gradle/ opt/ should read: $ sudo mv gradle/ /opt/.

Collapse
 
jay_js profile image
Jayesh Kale

yeah forgot to mention that thanks for help.

Collapse
 
josedonato profile image
José Donato

good article :D

the line sdkamanger "platform-tools" has a typo --> sdkmanager

Collapse
 
jay_js profile image
Jayesh Kale

yeah corrected it.👍

Collapse
 
kayalla profile image
Kayalla

Worked fine for me, thanks!
Besides noticed that the "$" is missing in variable GRADLE_HOME at "export PATH=GRADLE_HOME/bin:$PATH".

Collapse
 
axmedbadal profile image
axmedbadal

bro thank you in advance
but i have this little small issue will following along your post

sdkmanager "system-images;android-29;google_apis;x86_64"

ERROR: JAVA_HOME is set to an invalid directory: path_to_java_home

Please set the JAVA_HOME variable in your environment to match the
location of your Java installation.

please respond asp

Collapse
 
jay_js profile image
Jayesh Kale

can you check your java home path where it is installed.

Collapse
 
nkristianto profile image
Novian Kristianto

I have downloaded the sdk-tools-linux-4333796.zip, and I can't find the platform-tools directory inside. I'm running on arch-linux

Collapse
 
jay_js profile image
Jayesh Kale • Edited

you won't find platform tools inside it directly.. you have to install it using command -> sdkmanager "platform-tools"

Collapse
 
lilboat72 profile image
Kingsley Manzeke • Edited

If anyone else is trying to executing that code and geting 'Warning: Failed to read or create install properties file.'

Go here askubuntu.com/questions/1227439/18...

Collapse
 
lucsouza profile image
Lucas Eduardo Correa de Souza

Hi, you save my journey to learn flutter. I got and issue with sdk trying to use flutter and Android Studio on ubuntu. Now i can learn thanks to your tutorial. So i join the community to say thanks.

Collapse
 
jay_js profile image
Jayesh Kale

Thats what community for❤️

Collapse
 
lilboat72 profile image
Kingsley Manzeke

Does your ubuntu version have to be '19.04'? Mine is currently 18.04

Collapse
 
jay_js profile image
Jayesh Kale

no it doesn't matter but it at least has to be 18.04 or above wiil be great

Collapse
 
tianna1121 profile image
yang

any plan to expand your work to support debugging flutter apps remotely via vnc+headless android emulator?

Collapse
 
jay_js profile image
Jayesh Kale

no not currently but will research on it.. btw thanks for advice👍

Collapse
 
perymerdeka profile image
perymerdeka

I missing Adb from android SDK how to installed manualy?

Collapse
 
mehulanshumali profile image
Mehul Anshumali

Nice article...
But I have an issue I have done all the steps perfectly but when I tried to launch the emulator it's not launching.
Please help..

Collapse
 
jay_js profile image
Jayesh Kale

can you provide some detailed information on that.