welcome to Android studio |
Click start a new Android Studio Project to
create a project to build its new android, Further to label and package
applications as shown below.
New Project Android studio |
While in the determination of the build
targets, in the studio only specify minimum android SDK. this is a little
different if in eclipse there are parts where the user determines the build
targets.
Also in the studio making android apps can
also build for Android TV, wear and glass. At the time of selecting an
activity Add to mobile, select a blank activity. After that the optional
choose for your new file, click Finish
If
you have finished setting properties for a project on android studio, it will
display Hello World, for more details please see the picture below.Hello world Android studio |
For an explanation of the following layouts,
the folder structure, the manufacturing code and gradle on Android Studio
Layout Android Studio
For
the layout in android studio is divided into two, namely the design and text,
by default at the time it opened in android studio xml layout using design
mode, but you can change to text mode, so it looks source code of its XML
text. Use Live Preview facility to see the results of its
XML code.Live Preview Android Studio |
Folder
Android Studio
There is a folder .idea, app, gradle and
files - files that are diroot folder. Folder app / is the primary folder on the
android application, in it would be like this.
Here's an explanation for some of the folders
in Android Studio
In the build folder, contains files generated
results from the IDE (do not need to change the files in the folder), libs
folder, you can use as a form of .jar file library.
Folder src is the folder where stored the
Java source and layout in XML, the default android studio will generate two
folders namely, androidtest and play. Androidtest Folder is a special folder
UnitTest, if you do not understand, focus only on the main folder, because the
source and resource located in that folder.
Gradle
android studio
What's
new in Android Studio is gradle, featured a build automation. More can be seen
at the following website http://www.gradle.org/.
Gradle file contains libraries used, the version of the application, signed key
properties, etc. repository location. Files that will often be changed is the
build file.
How to
Connect Android Studio with Bluestack?
Make sure your computer has installed BlueStacks App Player 0.9.4.4078
In Android Studio, Click Device
Manager. Click Emulator and click Screen Capture to check our
emulator. Click Run to try running the android application.
In the Choose Device, select the emulator
Bluestack we connect before, After Click OK. The application already
installed on your Android Bluestack
thus tutorial Creating Simple Project Android in Android Studio
Android Studio
Next Tutorial