[JAVA] Defeating Android Studio Part 1 & Part 2

00.jpg

Introduction

I will add the know-how for using Android Studio provided by Google as a memorandum. The platform OS is Andoroid, but the development environment is Windows 7. Let's dig up this treasure with a lot of amazing menus and tools. For the time being, I will familiarize myself with Android Studio (hereafter AS).

Premise

Part 1: Make the screen "Dracula"

Start AS. Welcome to Android Studio The menu will launch.

AS-001.jpg

Select a setting from the configuration drop list.

AS-002.jpg

Select Switch Color Scheme and select Darcula from the scheme list box.

AS-003.jpg

Close the window with the x button in the dialog box and restart AS. It became "Dracula".

AS-004.jpg

Part 2: Sample source

Sample sources are provided to enjoy AS. Before you spend money to buy a book, first download the sample source and run the sample.

Choose to import Android code samples

AS-005.jpg

Select Instant Apps --Hello World from the list of Instant apps and click Next.

AS-006.jpg

Set the location of the project where you want to download the sample.

AS-007.jpg

The AS editor screen starts. Select res → layout → activity_hello.xml from the project window. A screen with Hello Instant World! Will be displayed on your mobile phone. Click the ▶ button.

AS-008.jpg

The deployment target selection screen is displayed. Since the connected device is , click Create New Virtual Device.

AS-009.jpg

Select hardware, select phone and click Next.

AS-010.jpg

Click Download for system image API28.

AS-011.jpg

Click Finish after installing the components requested by the component installer.

AS-012.jpg

API28 installed, click Next.

AS-013.jpg

Android Virtual Device (AVD), click Finish.

AS-014.jpg

Nexus 5X API 28 is added to the selection of deployment targets and available virtual devices.

AS-015.jpg

The build will start. (It will take a considerable amount of time. Download the necessary resources.)

AS-016.jpg

When "Hello Instant World!" Is finally output on the emulator screen, the build is complete.

AS-017.jpg

Summary

Anyway, I understand a very high-performance IDE. However, it will be impossible for beginners to master what is going on. Let's focus on the functions to be used and unravel them one by one.

That's all.

Recommended Posts

Defeating Android Studio Part 3-6
Defeating Android Studio Part 1 & Part 2
Beginners try using android studio Part 2 (event processing)
Beginners try using android studio Part 1 (Hello World)
Notes in Android studio
[Android studio (version 4.0)] Until project creation
Android Studio data binding study summary
Automatically insert `@SuppressWarnings` in Android Studio
OkHttp3 (GET, POST) in Android Studio
[Android Studio] [Java] Learning memos & links
Problems with android studio development series
Reintroducing Java 8 available from Android Studio 2.4
Android Studio JRE cannot be changed
Make an executable jar using Android Studio
Android Studio x Wear Os by Google
Android Studio Shortcut Keys (Mac OS X 10.5+)
Screen transition by [Android Studio] [Java] button
Make Log of Android Studio / Xcode convenient
I have a question about Android studio.
How to use ExpandableListView in Android Studio