<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Enger Jimenez</title>
    <description>The latest articles on Forem by Enger Jimenez (@sir-geronimo).</description>
    <link>https://forem.com/sir-geronimo</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F304697%2F2bf350ea-a0c4-4919-8edb-16efe6a512d2.jpeg</url>
      <title>Forem: Enger Jimenez</title>
      <link>https://forem.com/sir-geronimo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sir-geronimo"/>
    <language>en</language>
    <item>
      <title>Install Flutter without Android Studio</title>
      <dc:creator>Enger Jimenez</dc:creator>
      <pubDate>Tue, 31 Dec 2019 06:36:14 +0000</pubDate>
      <link>https://forem.com/sir-geronimo/install-flutter-without-android-studio-58bi</link>
      <guid>https://forem.com/sir-geronimo/install-flutter-without-android-studio-58bi</guid>
      <description>&lt;p&gt;In this tutorial, we will install Flutter and configure it, without installing Android Studio or any device emulator.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fuji3id4jawldskzfwhc0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fuji3id4jawldskzfwhc0.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Prerequisites
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Terminal.&lt;/li&gt;
&lt;li&gt;Git.&lt;/li&gt;
&lt;li&gt;Access to system environment.&lt;/li&gt;
&lt;li&gt;VS Code and Flutter extension.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Steps
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;First let's create a folder called &lt;em&gt;src&lt;/em&gt; or something you want in our &lt;em&gt;&lt;strong&gt;C&lt;/strong&gt;&lt;/em&gt; drive.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Now let's go to install the Flutter SDK. We proceed to enter to the &lt;em&gt;C:\src&lt;/em&gt; folder and run &lt;br&gt;
&lt;code&gt;git clone https://github.com/flutter/flutter.git&lt;/code&gt;&lt;br&gt;
the Flutter sdk starts to download.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;When the Flutter sdk has been downloaded, type "env" in the Windows search (or press windows key), and click on "Environment Variables...", edit the Path of the User Variables and add a new one "&lt;em&gt;C:\src\flutter\bin&lt;/em&gt;".&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvhku7j3xbmodhtx9408o.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fvhku7j3xbmodhtx9408o.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsncoke79hfg5l1xkiene.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fsncoke79hfg5l1xkiene.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run the command &lt;code&gt;flutter&lt;/code&gt;, if the command is found it will start downloading some dependencies, after that run &lt;code&gt;flutter doctor&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download OpenJDK8, I recommend using this one &lt;a href="http://download.java.net/openjdk/jdk8u40/ri/openjdk-8u40-src-b25-10_feb_2015.zip" rel="noopener noreferrer"&gt;http://download.java.net/openjdk/jdk8u40/ri/openjdk-8u40-src-b25-10_feb_2015.zip&lt;/a&gt;&lt;br&gt;
Just extract the files on a folder like "&lt;em&gt;C:\Program Files\Java\openjdk8&lt;/em&gt;".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the &lt;em&gt;JAVA_HOME&lt;/em&gt; and the path to the System Variables, go to edit the Environment Variables and click on "New..." under the System Variables&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F710dhrgbwet1d6gta87c.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F710dhrgbwet1d6gta87c.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
After you add the new system variable you can set the path for java, edit the Path of the System Environment and add "_%JAVA_HOME%\bin"&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fgl34bcqdzk9r77yw0jmm.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fgl34bcqdzk9r77yw0jmm.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Download Android SDK, Head to &lt;a href="https://developer.android.com/studio#downloads" rel="noopener noreferrer"&gt;https://developer.android.com/studio#downloads&lt;/a&gt; and download &lt;strong&gt;Command line tools only&lt;/strong&gt; for Windows. After downloaded, just extract the folder (tools) in a new folder on "&lt;em&gt;C:\Android&lt;/em&gt;".&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Install Android dependencies. Move to "&lt;em&gt;C:\Android\tools\bin&lt;/em&gt;" and run the &lt;code&gt;sdkmanager.bat --list&lt;/code&gt; (with the Terminal), run the following commands:&lt;br&gt;
&lt;code&gt;sdkmanager.bat “platform-tools”&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sdkmanager.bat “build-tools;28.0.3”&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sdkmanager.bat “platforms;android-28”&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sdkmanager.bat "platform-tools"&lt;/code&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Add the &lt;em&gt;ANDROID_HOME&lt;/em&gt; to the System Variables, add a new entry called "ANDROID_HOME" and the value is the path of your installation&lt;br&gt;
&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Foo697rvshx2psvpqx9r1.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Foo697rvshx2psvpqx9r1.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Allow debugging mode on your phone, you can follow this tutorial &lt;a href="https://developer.android.com/studio/debug/dev-options" rel="noopener noreferrer"&gt;https://developer.android.com/studio/debug/dev-options&lt;/a&gt;, allow the connection from your PC prompted on your phone's screen.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Run &lt;code&gt;flutter doctor&lt;/code&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>flutter</category>
      <category>dart</category>
      <category>android</category>
      <category>openjdk</category>
    </item>
  </channel>
</rss>
