<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Android Studio &#8211; jasta</title>
	<atom:link href="https://jasta.io/tag/android-studio/feed/" rel="self" type="application/rss+xml" />
	<link>https://jasta.io</link>
	<description>Beyond Syntax</description>
	<lastBuildDate>Sat, 06 Apr 2024 17:25:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>

<image>
	<url>https://jasta.io/wp-content/uploads/2024/01/cropped-jasta_favicon-32x32.webp</url>
	<title>Android Studio &#8211; jasta</title>
	<link>https://jasta.io</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Crafting Your First Android App with Java: A Beginner&#8217;s Guide to Success</title>
		<link>https://jasta.io/mobile-apps/crafting-your-first-android-app-with-java/</link>
					<comments>https://jasta.io/mobile-apps/crafting-your-first-android-app-with-java/#respond</comments>
		
		<dc:creator><![CDATA[Jakob]]></dc:creator>
		<pubDate>Sat, 16 Mar 2024 14:51:36 +0000</pubDate>
				<category><![CDATA[Mobile Apps]]></category>
		<category><![CDATA[Android Studio]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Mobile-App]]></category>
		<guid isPermaLink="false">https://jasta.io/?p=2791</guid>

					<description><![CDATA[Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into how to create your first Android app with Java, providing a step-by-step guide to help you accomplish this on your computer. Whether you’re a seasoned tech guru or just starting your digital journey, our straightforward instructions will make the process a breeze. Let’s jump in and create an Android app with Java.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><ul><li><a href="#creating-an-android-app-with-java-in-android-studio">Creating an Android App with Java in Android Studio</a></li><li><a href="#extending-the-source-code-of-your-app">Extending the Source Code of Your App</a></li><li><a href="#testing-your-first-android-app-with-java">Testing Your First Android App with Java</a></li></ul></nav></div>



<h2 class="wp-block-heading" id="creating-an-android-app-with-java-in-android-studio">Creating an Android App with Java in Android Studio</h2>



<p>To start, you first need to click on the new project button to start configuring your Android app.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="775" height="632" src="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject.webp" alt="Create a new project in Android Studio" class="wp-image-2799" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject.webp 775w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject-300x245.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject-768x626.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject-512x418.webp 512w" sizes="(max-width: 775px) 100vw, 775px" /></figure>
</div>


<p>On the first page, you need to select what activity you want to use for creating your app. Since we don&#8217;t want any pre-created buttons or menus in this app we are just using the Empty Views Activity. </p>



<p>FYI: An activity is one screen of an app. If you are for example creating an app with a login mechanism you would have the following activities:</p>



<ul class="wp-block-list">
<li>Login Activity</li>



<li>Registration Activity</li>



<li>Home Activity</li>
</ul>



<p>The app would probably start with the login activity. On this activity, you could now have two fields for email and password and two buttons. One for new users which would open the registration activity and one login button which would redirect the user to the home activity. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="890" height="644" src="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject2.webp" alt="Empty Views Activity in Android Studio" class="wp-image-2800" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject2.webp 890w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject2-300x217.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject2-768x556.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject2-512x370.webp 512w" sizes="(max-width: 890px) 100vw, 890px" /></figure>
</div>


<p>After pressing next you will see the actual configuration screen of your project. There you can change various settings for your app. You can enter whatever you like regarding the name and the package name. This applies also to the save location. However, if you change the directory, no new folder will be created with the project name so the project gets generated exactly in the folder you choose. So don&#8217;t choose a parent folder without creating a subfolder.</p>



<p>For the language you should also choose whatever you know the best. For this tutorial, I am choosing Java. The next point is the minimum SDK. This means any device with an Android version below this version won&#8217;t be able to download and use this app. A good minimum SDK is API 24 which is already preselected. Below the drop-down menu, you can also see how many smartphones can use this app. The last configuration option is the build configuration language. You can choose between Kotlin and Groovy and since Kotlin is superior we are choosing it.</p>



<p>After every configuration option is set it should look similar to the screenshot below. If this is the case you can start the generating process of your Android app with Java by clicking Finish.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="897" height="646" src="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject3.webp" alt="Project configuration in Android Studio" class="wp-image-2801" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject3.webp 897w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject3-300x216.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject3-768x553.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateAndroidStudioProject3-512x369.webp 512w" sizes="(max-width: 897px) 100vw, 897px" /></figure>
</div>


<p>After your project is generated you should locate two important files in the project explorer on the left of the screen. The MainActivity class contains all the programming logic for our activity. The activity_main.xml file contains the information on how your MainActivity will look like.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="448" height="416" src="https://jasta.io/wp-content/uploads/2024/03/AppExplorer.webp" alt="Project explorer inside Android Studio" class="wp-image-2803" srcset="https://jasta.io/wp-content/uploads/2024/03/AppExplorer.webp 448w, https://jasta.io/wp-content/uploads/2024/03/AppExplorer-300x279.webp 300w" sizes="auto, (max-width: 448px) 100vw, 448px" /></figure>
</div>


<p>When opening the activity_main.xml you will probably see a white screen with a Hello World! text since this is the default option. But there is also an option to see the code of the actual file side by side with the live preview of it which is mandatory for developing an app. To switch to this view click on the symbol in the top right corner highlighted in the screenshot below. You can also see another highlighted button. With that, you can switch from seeing a blueprint beneath the actual preview of the activity to just previewing the activity. For that, you have to switch to Design only.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="834" src="https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-1024x834.webp" alt="See code and preview side by side in Android Studio" class="wp-image-2804" srcset="https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-1024x834.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-300x244.webp 300w, https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-768x626.webp 768w, https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-512x417.webp 512w, https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio-920x749.webp 920w, https://jasta.io/wp-content/uploads/2024/03/layoutPreviewSettingsAndroidStudio.webp 1295w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<h2 class="wp-block-heading" id="extending-the-source-code-of-your-app">Extending the Source Code of Your App</h2>



<p>Now that you know the basics we are extending the source code of your Android app with Java a bit so there will be a Button that can be pressed which increases a counter that is displayed in a TextView. For this, we are giving the already existing TextView in the activity_main.xml an ID. An ID is needed so we can access the TextView via the logic inside the MainActivity Java class. To add an ID you need to add the line below inside the TextView tag.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">android:id="@+id/counterLabel"</pre>



<p>After adding this line we are also adding a Button to the activity with this code:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">    &lt;Button
        android:id="@+id/countUpButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Count up"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/counterLabel" /></pre>



<p>Now our activity_main.xml is done and should look like this:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="xml" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">&lt;?xml version="1.0" encoding="utf-8"?>
&lt;androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".MainActivity">

    &lt;TextView
        android:id="@+id/counterLabel"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent" />

    &lt;Button
        android:id="@+id/countUpButton"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="Count up"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toBottomOf="@id/counterLabel" />

&lt;/androidx.constraintlayout.widget.ConstraintLayout></pre>



<p>The user interface is now done. There is a Button and a TextView. Now we need to access these two components inside the MainActivity.java and work with them.<br>First of all, we are adding 3 variables to the class.</p>



<ul class="wp-block-list">
<li>private TextView counterLabel; This will be set to our TextView</li>



<li>private Button counterButton; This will be set to our Button</li>



<li>private int currentCount = 0; This will work as our counter variable</li>
</ul>



<p>Then we initialize the TextView and Button variables. This can be done in the onCreate method since this method is only once called at the very start of the activity. To get different components of your XML files you call findViewById(R.id.&lt;IDInsideXMLFile&gt;). So the assignments will look like this.</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">counterLabel = findViewById(R.id.counterLabel);
counterButton = findViewById(R.id.countUpButton);</pre>



<p>The next step is to set the text of the counter label to 0. For setting an initial value there are always two options. The first one is to set it directly inside the activity_main.xml file with the android:text attribute or you can do it via code like this:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">counterLabel.setText(String.valueOf(currentCount));</pre>



<p>Last, we need to add an onClickListener with which we can override the onClick method to increase our counter and set the new value to our TextView. To do this you can either use a lambda expression or not. That depends entirely on what you prefer to use. You can see the difference below:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">counterButton.setOnClickListener(v -> {
    currentCount++;
    counterLabel.setText(String.valueOf(currentCount));
});

counterButton.setOnClickListener(new View.OnClickListener() {
    @Override
    public void onClick(View view) {
        currentCount++;
        counterLabel.setText(String.valueOf(currentCount));
    }
});</pre>



<p>Finally, your finished MainActivity class will look like this:</p>



<pre class="EnlighterJSRAW" data-enlighter-language="java" data-enlighter-theme="" data-enlighter-highlight="" data-enlighter-linenumbers="" data-enlighter-lineoffset="" data-enlighter-title="" data-enlighter-group="">package com.example.myfirstandroidapp;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.Button;
import android.widget.TextView;

public class MainActivity extends AppCompatActivity {

    private TextView counterLabel;
    private Button counterButton;
    private int currentCount = 0;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        counterLabel = findViewById(R.id.counterLabel);
        counterButton = findViewById(R.id.countUpButton);

        counterLabel.setText(String.valueOf(currentCount));

        counterButton.setOnClickListener((v) -> {
            currentCount++;
            counterLabel.setText(String.valueOf(currentCount));
        });
    }
}</pre>



<p>Always call findViewById after super.onCreate(savedInstanceState); and setContentView(R.layout.activity_main);. Otherwise, it will not work.</p>



<h2 class="wp-block-heading" id="testing-your-first-android-app-with-java">Testing Your First Android App with Java</h2>



<p>To test your newly created Android app with Java you have two options. <br>The first one is to use your real mobile phone. You can either connect it via cable or connect via Wi-Fi. To do this you first need to enable the respective debugging mode on your smartphone in the developer settings. This can vary from brand to brand so the best thing is to Google how to do it on your device. After enabling the mode you can connect your device via cable and the smartphone will automatically show up on the devices list, or you use &#8216;Pair Devices Using Wi-Fi&#8217; from the options in the screenshot below and follow the steps displayed.</p>



<p>The second option to test your Android app with Java is, to use a virtual device. The advantage of a virtual device is, that you can have multiple. So you can test your app on devices with different sizes and Android versions. Furthermore, you can test device categories that you may not even own, like a smartwatch. To learn how to add a virtual device you can click <a href="https://jasta.io/how-tos/add-a-powerful-virtual-device-in-android-studio/">here</a>.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="382" height="224" src="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioTestApp.webp" alt="Available devices in Android Studio" class="wp-image-2796" srcset="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioTestApp.webp 382w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioTestApp-300x176.webp 300w" sizes="auto, (max-width: 382px) 100vw, 382px" /></figure>
</div>


<p>After you have added/selected the correct device you can now click on the play button next to the drop-down list, which is also highlighted in the screenshot below to start your app.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="578" src="https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-1024x578.webp" alt="Run you app in Android Studio" class="wp-image-2807" srcset="https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-1024x578.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-300x169.webp 300w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-768x433.webp 768w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-1536x867.webp 1536w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-2048x1156.webp 2048w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-512x289.webp 512w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-920x519.webp 920w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-1600x903.webp 1600w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1-1920x1084.webp 1920w, https://jasta.io/wp-content/uploads/2024/03/StartAndroidApp-1.webp 2151w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>After clicking the button the app will be built. When the build process is finished the virtual device will start and launch your app. If you use your personal device the app will also launch itself. After the application is started on your device it should look like the preview from the activity_main.xml file. To test the logic we implemented you can click on the counter button. You will then see the counter getting increased with each click. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="669" height="744" src="https://jasta.io/wp-content/uploads/2024/03/FinishedApp-1.webp" alt="Android app with Java in Android Studio" class="wp-image-2808" srcset="https://jasta.io/wp-content/uploads/2024/03/FinishedApp-1.webp 669w, https://jasta.io/wp-content/uploads/2024/03/FinishedApp-1-270x300.webp 270w, https://jasta.io/wp-content/uploads/2024/03/FinishedApp-1-512x569.webp 512w" sizes="auto, (max-width: 669px) 100vw, 669px" /></figure>
</div>


<p>This was the process of creating your first Android app with Java in Android Studio. If you have any problems or questions feel free to comment below. To read more about creating an app in Android Studio you can visit the <a href="https://developer.android.com/codelabs/build-your-first-android-app#0" target="_blank" rel="noopener">documentation of Google</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jasta.io/mobile-apps/crafting-your-first-android-app-with-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Add a Powerful Virtual Device in Android Studio</title>
		<link>https://jasta.io/how-tos/add-a-powerful-virtual-device-in-android-studio/</link>
					<comments>https://jasta.io/how-tos/add-a-powerful-virtual-device-in-android-studio/#respond</comments>
		
		<dc:creator><![CDATA[Jakob]]></dc:creator>
		<pubDate>Fri, 15 Mar 2024 19:15:03 +0000</pubDate>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Android Studio]]></category>
		<category><![CDATA[Device Manager]]></category>
		<category><![CDATA[Virtual Devices]]></category>
		<guid isPermaLink="false">https://jasta.io/?p=2771</guid>

					<description><![CDATA[Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into how to add a powerful virtual device in Android Studio, providing a step-by-step guide to help you accomplish this on your computer. Whether you’re a seasoned tech guru or just starting your digital journey, our straightforward instructions will make the process a breeze. Let’s jump in and add a powerful virtual device in Android Studio.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><ul><li><a href="#why-you-should-have-one-or-more-virtual-devices">Why You Should Have One or More Virtual Devices</a></li><li><a href="#add-a-powerful-virtual-device-in-android-studio">Add a Powerful Virtual Device in Android Studio</a></li><li><a href="#problem-black-circle-on-the-screen-in-addition-to-the-camera">Problem: Black Circle on the Screen in Addition to the Camera</a></li></ul></nav></div>



<h2 class="wp-block-heading" id="why-you-should-have-one-or-more-virtual-devices">Why You Should Have One or More Virtual Devices</h2>



<p>After developing mobile applications you will ask yourself how to test your app. There are two options: The first option is, to load your program on your smartphone. The benefits are clear. Once uploaded on your phone you can show it to friends and family members but there are also downsides. The phone must be either connected via cable or wirelessly. Additionally, debugging has to be enabled in the developer settings. Furthermore, it always has to be nearby and the uploading process often takes quite a long time.</p>



<p>With a virtual device, you don&#8217;t need to have your phone always with you to test your mobile applications. You can press &#8216;Run&#8217; inside Android Studio and a virtual smartphone will be powered up where your app gets deployed. Also with the virtual device, you can simulate different things like a bad internet connection.</p>



<p>Another big advantage is, that you can have multiple virtual devices with different screen sizes and Android versions, which is extremely useful for developing apps, which have to work for older phones and should also look good on foldable phones or phones with rather small displays.</p>



<h2 class="wp-block-heading" id="add-a-powerful-virtual-device-in-android-studio">Add a Powerful Virtual Device in Android Studio</h2>



<p>To add a powerful virtual device in Android Studio the first thing you need to do is to check if Hyper-V is enabled. To learn how to enable it, you can click <a href="https://jasta.io/how-tos/enable-hyper-v-on-windows-11/">here</a>. After you have enabled it, you need to open the device manager in Android Studio. This can be done with the menu on the very right in Android Studio. There you have to click on the icon with a smartphone and the android logo. You can see the location in the screenshot below. After opening it, you have to click on the plus symbol to add a new powerful virtual device in Android Studio.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="576" src="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-1024x576.webp" alt="Add a powerful virtual device in Android Studio" class="wp-image-2774" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-1024x576.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-300x169.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-768x432.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-1536x864.webp 1536w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-2048x1151.webp 2048w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-512x288.webp 512w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-920x517.webp 920w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-1600x900.webp 1600w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1-1920x1079.webp 1920w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice1.webp 2154w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>After clicking on the plus icon, a new dialog will be displayed on your screen. Now the real process to add a powerful virtual device in Android Studio begins. First of all, you have to decide which device you want to create. You can choose from different categories like phones, tablets, watches, or even TVs. In this tutorial, we are using the Google Pixel 8 since the size is rather common. After choosing the device you can confirm your selection with a click on Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="694" src="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-1024x694.webp" alt="Choose a virtual device size in Android Studio device manager" class="wp-image-2775" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-1024x694.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-300x203.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-768x521.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-512x347.webp 512w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2-920x624.webp 920w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDevice2.webp 1099w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>In the next dialog window, you can choose your desired Android version for your new virtual device in Android Studio. If you have already downloaded the desired version, you can select it and click on next. Otherwise, you have to click on the small download icon next to the Android version name. In this case, I am choosing the newest version, 14.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="699" src="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-1024x699.webp" alt="Download Android 14 SDK" class="wp-image-2776" srcset="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-1024x699.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-300x205.webp 300w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-768x524.webp 768w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-512x349.webp 512w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage-920x628.webp 920w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage.webp 1096w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>After pressing on download another window will appear where you must accept the license agreement. Just select Accept and press Next to start downloading the SDK.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="900" height="647" src="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage2.webp" alt="Accept license agreement in Android Studio" class="wp-image-2777" srcset="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage2.webp 900w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage2-300x216.webp 300w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage2-768x552.webp 768w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage2-512x368.webp 512w" sizes="auto, (max-width: 900px) 100vw, 900px" /></figure>
</div>


<p>The download will take some time. After it is finished you can press the Finish button in the bottom right corner of the download dialog.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="897" height="645" src="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage3.webp" alt="Download SDK in Android Studio" class="wp-image-2778" srcset="https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage3.webp 897w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage3-300x216.webp 300w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage3-768x552.webp 768w, https://jasta.io/wp-content/uploads/2024/03/DownloadSystemImage3-512x368.webp 512w" sizes="auto, (max-width: 897px) 100vw, 897px" /></figure>
</div>


<p>After clicking on Finish you will be back at the window where you can choose the desired Android version. You can now select the downloaded version and confirm the selection by pressing Next on the bottom.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="694" src="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-1024x694.webp" alt="Choose the android version in Android Studio" class="wp-image-2779" srcset="https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-1024x694.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-300x203.webp 300w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-768x520.webp 768w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-512x347.webp 512w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload-920x623.webp 920w, https://jasta.io/wp-content/uploads/2024/03/CreateVirtualDeviceAfterDownload.webp 1100w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>After clicking Next you will see the last dialog to create a virtual device in Android Studio. There you will see a quick overview of your selections and you can also give the device a name. I would recommend that you include the API version (Android version) in the name, so you quickly know what version the device is running on. After you have checked your previous selections and named your device you can finish the process to add a virtual device in Android Studio with a click on the Finish button.</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="699" src="https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-1024x699.webp" alt="Create a virtual device in Android Studio" class="wp-image-2780" srcset="https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-1024x699.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-300x205.webp 300w, https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-768x524.webp 768w, https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-512x349.webp 512w, https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice-920x628.webp 920w, https://jasta.io/wp-content/uploads/2024/03/FinishVirtualDevice.webp 1096w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>Now your device will show up in the device overview of the device manager. You can start the virtual smartphone directly by launching your app with the play icon on the top or you can start the device without starting your mobile application via the play button next to your device inside the device manager.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="893" height="363" src="https://jasta.io/wp-content/uploads/2024/03/StartNewVirtualDevice.webp" alt="Start a virtual device in Android Studio" class="wp-image-2781" srcset="https://jasta.io/wp-content/uploads/2024/03/StartNewVirtualDevice.webp 893w, https://jasta.io/wp-content/uploads/2024/03/StartNewVirtualDevice-300x122.webp 300w, https://jasta.io/wp-content/uploads/2024/03/StartNewVirtualDevice-768x312.webp 768w, https://jasta.io/wp-content/uploads/2024/03/StartNewVirtualDevice-512x208.webp 512w" sizes="auto, (max-width: 893px) 100vw, 893px" /></figure>
</div>


<h2 class="wp-block-heading" id="problem-black-circle-on-the-screen-in-addition-to-the-camera">Problem: Black Circle on the Screen in Addition to the Camera</h2>



<p>Sometimes there might be a problem after you&#8217;ve added a powerful virtual device to Android Studio &#8211; a black circle is displayed on the screen in addition to the camera punch hole. This is because a display cutout is activated in the developer options of the device. To deactivate it you first have to activate the developer options. You can do this by opening the settings on the smartphone, then clicking on &#8216;About phone&#8217; and scrolling down to &#8216;Build number&#8217;. You have to click on Build number 7 times to enable the developer options. After clicking on it that many times you will see a message on the screen that the developer options are now enabled.</p>



<p>After the activation, you have to go back to the start of the settings. Now scroll down to &#8216;System&#8217; and open the &#8216;Developer options&#8217;. You now have to search for &#8216;Display cutout&#8217;. The setting is located approximately two-thirds of the way up the menu. After you have found it you can click on it and select &#8216;Device default&#8217; so only the normal camera punch hole is visible.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="320" height="666" src="https://jasta.io/wp-content/uploads/2024/03/BlackDot.webp" alt="Remove black circle of virtual device in android studio" class="wp-image-2782" srcset="https://jasta.io/wp-content/uploads/2024/03/BlackDot.webp 320w, https://jasta.io/wp-content/uploads/2024/03/BlackDot-144x300.webp 144w" sizes="auto, (max-width: 320px) 100vw, 320px" /></figure>
</div>


<p>Now everything should be working without any problems. If you have any troubles or questions feel free to leave a comment or visit the <a href="https://developer.android.com/studio/run/managing-avds" target="_blank" rel="noopener">official documentation</a> of Google.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jasta.io/how-tos/add-a-powerful-virtual-device-in-android-studio/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Simply Set Up a Mighty Android Development Environment</title>
		<link>https://jasta.io/how-tos/simply-set-up-a-android-development-environment/</link>
					<comments>https://jasta.io/how-tos/simply-set-up-a-android-development-environment/#respond</comments>
		
		<dc:creator><![CDATA[Jakob]]></dc:creator>
		<pubDate>Fri, 01 Mar 2024 18:29:50 +0000</pubDate>
				<category><![CDATA[How-Tos]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Studio]]></category>
		<category><![CDATA[IDE]]></category>
		<guid isPermaLink="false">https://jasta.io/?p=2715</guid>

					<description><![CDATA[Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into&#8230;]]></description>
										<content:encoded><![CDATA[
<p>Hello tech enthusiasts! Welcome back to jasta, your go-to destination for all things tech. Today, we’re diving into how to set up a mighty Android development environment, providing a step-by-step guide to help you accomplish this on your computer. Whether you’re a seasoned tech guru or just starting your digital journey, our straightforward instructions will make the process a breeze. Let’s jump in and set up your Android development environment.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><ul><li><a href="#hyper-v-to-simulate-a-virtual-smartphone">Hyper-V to Simulate a Virtual Smartphone</a></li><li><a href="#android-studio-as-android-development-environment">Android Studio as Android Development Environment</a></li><li><a href="#downloading-and-installing-android-studio">Downloading and Installing Android Studio</a></li><li><a href="#setting-up-android-studio">Setting up Android Studio</a></li></ul></nav></div>



<h2 class="wp-block-heading" id="hyper-v-to-simulate-a-virtual-smartphone">Hyper-V to Simulate a Virtual Smartphone</h2>



<p>The first thing you need to do before you can set up your Android development environment is to enable Hyper-V. This is necessary to run a simulator for a virtual smartphone on your computer. This simulator is used later for testing the Apps you are going to develop. If you do not want to do that, you always have to use a real smartphone to run your developed Apps. So a smartphone simulator will make your developer&#8217;s life a lot easier.</p>



<p>To activate Hyper-V you can read our guide on how to <a href="https://jasta.io/how-tos/enable-hyper-v-on-windows-11/">Enable Hyper-V on Windows 11 Pro and Unlock Powerful Virtualization</a>.</p>



<h2 class="wp-block-heading" id="android-studio-as-android-development-environment">Android Studio as Android Development Environment</h2>



<p>There are many platforms out there, where you can develop Android apps. But the best development environment will be Android Studio. It is built and distributed directly by Google, which also developed Android. </p>



<p>Android Studio has two major benefits:</p>



<ul class="wp-block-list">
<li>It is specifically designed for developing Android apps. So everything necessary is already integrated including the simulated smartphones &#8211; so there is no Plugin installation needed.</li>



<li>Android Studio is built on JetBrains IntelliJ IDEA &#8211; so if you are already familiar with IntelliJ you will love Android Studio because the user interface is almost the same.</li>
</ul>



<h2 class="wp-block-heading" id="downloading-and-installing-android-studio">Downloading and Installing Android Studio</h2>



<p>To download Android Studio, you first need to visit the <a href="https://developer.android.com/studio" target="_blank" rel="noopener">official download site</a>. There you should already see a Download Android Studio button in the middle of the page. When you click on that, a popup for the terms and conditions will pop up. To start the download you have to scroll down on the page, check the checkbox that you have read and agree with the terms and conditions and press Download Android Studio again. Now the download of the setup .exe file will start</p>


<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="560" src="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-1024x560.webp" alt="Download Android Studio" class="wp-image-2719" srcset="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-1024x560.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-300x164.webp 300w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-768x420.webp 768w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-1536x840.webp 1536w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-512x280.webp 512w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-920x503.webp 920w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload-1600x875.webp 1600w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownload.webp 1874w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>

<div class="wp-block-image">
<figure class="aligncenter size-large"><img loading="lazy" decoding="async" width="1024" height="591" src="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-1024x591.webp" alt="Android Studio terms and conditions" class="wp-image-2720" srcset="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-1024x591.webp 1024w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-300x173.webp 300w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-768x443.webp 768w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-1536x886.webp 1536w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-512x295.webp 512w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-920x531.webp 920w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense-1600x923.webp 1600w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioDownloadLicense.webp 1887w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
</div>


<p>After the download is complete, you can open the setup file to start the installation process. The first page you will see looks like the screenshot below. You just have to press Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="493" height="381" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio.webp" alt="Android Studio Set Up Wizard" class="wp-image-2721" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio.webp 493w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio-300x232.webp 300w" sizes="auto, (max-width: 493px) 100vw, 493px" /></figure>
</div>


<p>The next window will ask you what components you want to install. There you can already define if you want to install the Android Virtual Device component as well as the Android development environment itself. If you want to use a simulated smartphone make sure that the checkbox next to the Android Virtual Device is checked and confirm your choice by pressing Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="493" height="382" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio2.webp" alt="Android Studio components" class="wp-image-2722" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio2.webp 493w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio2-300x232.webp 300w" sizes="auto, (max-width: 493px) 100vw, 493px" /></figure>
</div>


<p>On the following device, you can choose your installation path. To speed up your program, I would recommend installing it on an SSD.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="490" height="381" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio3.webp" alt="Android Studio installation directory" class="wp-image-2723" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio3.webp 490w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio3-300x233.webp 300w" sizes="auto, (max-width: 490px) 100vw, 490px" /></figure>
</div>


<p>The next page asks you if you want to put your Android Studio application in a new Start Menu Folder or if you want to add it to an already existing one. You can choose whatever you like, change the name of the new folder, or also mark the checkbox at the bottom to not create a shortcut at all. After you have decided what you want to do, you can click on Install to start the installation process of your Android development environment. </p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="495" height="382" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio4.webp" alt="Android Studio start menu folder" class="wp-image-2724" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio4.webp 495w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio4-300x232.webp 300w" sizes="auto, (max-width: 495px) 100vw, 495px" /></figure>
</div>


<p>After pressing Install, the setup will start the installation of Android Studio. When the progress bar is full and the text above it states Completed, you can press the Next button on the bottom to open the final setup window.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="493" height="381" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio5.webp" alt="Android Studio installation completed" class="wp-image-2725" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio5.webp 493w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudio5-300x232.webp 300w" sizes="auto, (max-width: 493px) 100vw, 493px" /></figure>
</div>


<p>If you want to setup and start Android Studio right now, you have to mark the checkbox. Otherwise, you can deselect it. Either way, you need to click on Finish to complete the installation process.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="495" height="382" src="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudioFinished.webp" alt="Run Android Studio" class="wp-image-2726" srcset="https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudioFinished.webp 495w, https://jasta.io/wp-content/uploads/2024/03/InstallAndroidStudioFinished-300x232.webp 300w" sizes="auto, (max-width: 495px) 100vw, 495px" /></figure>
</div>


<h2 class="wp-block-heading" id="setting-up-android-studio">Setting up Android Studio</h2>



<p>After starting up Android Studio, you will be confronted with the importing of Android Studio settings. If you do not have exported settings from another computer or you have already installed Android Studio previously, you just have to select &#8216;Do not import settings&#8217; and click on OK.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="369" height="163" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio.webp" alt="Android Studio import settings" class="wp-image-2731" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio.webp 369w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio-300x133.webp 300w" sizes="auto, (max-width: 369px) 100vw, 369px" /></figure>
</div>


<p>After pressing OK you will see the dialog from the screenshot below. It is asking you to send usage statistics to Google to help them improve Android Studio in the future. You can decide if you want to do that or not. In this case, I am pressing Don&#8217;t send.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="520" height="284" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio2.webp" alt="Android Studio send usage statistics" class="wp-image-2732" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio2.webp 520w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio2-300x164.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio2-512x280.webp 512w" sizes="auto, (max-width: 520px) 100vw, 520px" /></figure>
</div>


<p>On the following Welcome screen of the Android Studio Setup Wizard, you just need to click Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="782" height="589" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio3.webp" alt="Android Studio Setup Wizard Welcome page" class="wp-image-2733" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio3.webp 782w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio3-300x226.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio3-768x578.webp 768w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio3-512x386.webp 512w" sizes="auto, (max-width: 782px) 100vw, 782px" /></figure>
</div>


<p>The next window asks you for the Installation Type. There you can just select Standard and start the final installation of all necessary things for your Android development environment with a click on Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="776" height="585" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio4.webp" alt="Android Studio installation type" class="wp-image-2734" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio4.webp 776w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio4-300x226.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio4-768x579.webp 768w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio4-512x386.webp 512w" sizes="auto, (max-width: 776px) 100vw, 776px" /></figure>
</div>


<p>On the following screen, you see a short overview of the things that get installed. If you want to change your installation type you can do that by pressing previous. If you want to continue with the installation click on Next.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="785" height="588" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio5.webp" alt="Android Studio verify settings" class="wp-image-2735" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio5.webp 785w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio5-300x225.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio5-768x575.webp 768w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudio5-512x384.webp 512w" sizes="auto, (max-width: 785px) 100vw, 785px" /></figure>
</div>


<p>After pressing Next the installation of all required components for your Android development environment will start. After finishing you can click Finish to get to the next page.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="781" height="588" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioAfterLicense.webp" alt="Android Studio downloading components" class="wp-image-2736" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioAfterLicense.webp 781w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioAfterLicense-300x226.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioAfterLicense-768x578.webp 768w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioAfterLicense-512x385.webp 512w" sizes="auto, (max-width: 781px) 100vw, 781px" /></figure>
</div>


<p>On this page, you just have to agree to the licenses of your downloaded components. You have to accept each license separately by clicking on it in the left column and selecting Accept in the bottom right corner. After accepting all, you can click Finish.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="780" height="586" src="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioLicense.webp" alt="Android Studio licenses" class="wp-image-2737" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioLicense.webp 780w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioLicense-300x225.webp 300w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioLicense-768x577.webp 768w, https://jasta.io/wp-content/uploads/2024/03/SetupAndroidStudioLicense-512x385.webp 512w" sizes="auto, (max-width: 780px) 100vw, 780px" /></figure>
</div>


<p>Now you will see the starting screen of Android Studio your new Android development environment. If you are using already IntelliJ IDEA you will recognize this page already.</p>


<div class="wp-block-image">
<figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" width="777" height="636" src="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioInstalled.webp" alt="Android Development Environment" class="wp-image-2738" style="width:644px" srcset="https://jasta.io/wp-content/uploads/2024/03/AndroidStudioInstalled.webp 777w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioInstalled-300x246.webp 300w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioInstalled-768x629.webp 768w, https://jasta.io/wp-content/uploads/2024/03/AndroidStudioInstalled-512x419.webp 512w" sizes="auto, (max-width: 777px) 100vw, 777px" /></figure>
</div>


<p>If you have any questions regarding the setup process or the installation feel free to reach out to me via the comments or the contact form!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://jasta.io/how-tos/simply-set-up-a-android-development-environment/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
