Make an android app. (First day)

Since it is a three-day holiday from today, I decided to start Android development. On top of that, I will write down what I thought was important and what I stumbled upon.

Tools> no Android

FD61EF42-966A-4A57-AE0D-5E2C5926C090.jpeg

ʻThe text says to launch AVD Manager`, but Tools doesn't have Android. .. .. If you look closely, there is an error at the bottom. スクリーンショット 2018-03-27 16.51.25.png For the time being, click the link. Also, a new error occurred. スクリーンショット 2018-03-27 16.52.15.png Click the link again. Then the error disappeared. When I looked at Tools again, it was displayed. スクリーンショット 2018-03-27 16.54.41.png

Important files

/java Literally, a folder to store Java source code. The core of the app.

/res/layout App appearance (layout) The layout is decided by /res/layout/activity_main.xml, but if the text value is changed here, it cannot correspond to other languages. Therefore, the value is displayed in the layout by referring to / res / Value.

/res/Value Character string data and style information used in the app

Internationalization of apps

If you want to support English, Japanese, and German, you can divide the folders like / value (English), / value-ja (Japanese), / value-de (German), depending on the language setting of the terminal. , The value file to be referenced changes. If there is no Value file that does not apply, / value will be the default file, so in the above case it will be written in English.

layout_centerInParent and layout_width

I was instructed to select the title item in the text, but I couldn't find the item. I couldn't find it by any means, so when I asked teratail, the reason was that the version of Android Studio was different from the text and the specifications changed a little. https://teratail.com/questions/119231?whotofollow=

teratail is amazing!

Impressions

On the first day of Android development, if you don't know your best impression, ask teratail! was. I will move forward to some extent tomorrow.

Recommended Posts

Make an android app. (First day)
Make an android app. (Day 5)
Make an instagram clone app ④
Make an instagram clone app ②
Is it an Android app?
Make an instagram clone app ③
Make an instagram clone app ①
App development beginners tried to make an Android calculator app
How to make an app using Tensorflow with Android Studio
I want to make an ios.android app
Android weather app
I made an Android app for MiRm service
How to make an crazy Android music player
About Android App Components
Beginner-friendly Android app publishing procedure, struggling for the first release⁈
Android app personal development kickoff
Let's make the app better
ROS app development on Android
Android app decompile ⇒ fix ⇒ recompile
NoCode Glide's first app development
The basics of the process of making a call with an Android app
I tried to make an Android application with MVC now (Java)