Вы находитесь на странице: 1из 42

Android Studio Installation

• Check minimimum requirement for Android Studio:


1. Microsoft® Windows® 7/8/10 (32- or 64-bit)
2. 2 GB RAM minimum, 8 GB RAM recommended
3. 2 GB of available disk space minimum,
4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and
emulator system image)
4. 1280 x 800 minimum screen resolution
5. Java Development Kit (JDK) 8
6. For accelerated emulator: 64-bit operating system and Intel®
processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and
Execute Disable (XD) Bit functionality
Java Development Kit (jdk) Installation
1. Search in Google.com
2. Go to the website
3. Choose JDK 8u91
4. Choose Next Until Installation Done
Search in Google.com
Go to the website
Choose JDK 8u91
Version

1. Click Accept CPU Release

2. Choose PC version

PSU Release
Choose Next Until Installation Done
• Get the latest version of Android Studio from
:http://developer.android.com/sdk/index.html
Check all of the component
WAIT UNTIL IT FINISHED
Instalasi Java Virtual Machine
• Get the installer / Go to : https://java.com/en/download/
• Follow the instruction from the website
• Wait until it finished
Update
Reference : my package
Reference : my package
Reference : my package
Reference : my package
Reference : my package
Reference : my package
BUILD YOUR FIRST APP!!
Note: The lower you choose the android device, the more device can compatible to your app
but it has least feature
• There are 3 main part of code in android studio
• 1st android manifest
• 2nd Java Code
• 3rd res
1. ANDROID MANIFEST
• Android manifest is an identity of your program , you must match
your <activity android:name=“bla bla”> with your java file , if there
are more than 1 java file you must declare it in here
• Android manifest also contain your program accessibility in your
device which are internet usage, read/write internal memory etc.
2nd Java File
• In this part you can put your java code
• The most important thing is you must match your layout name in this
java file (look the example above)
• You can create more than 1 java file ( right click curren java file, new
java file)
3rd RES(LAYOUT)
• In RES you can put all of your program need to run for example :
• Layout
• Image
• Etc
Layout
• .xml is your user interface later will be used in your device
• You can do it with the hardway or easyway , its your choice
Hardway
easyway
HOW TO RUN IT??
• Make sure you have installed your device driver in your pc
• Turn on your development options in your android device(it wont
work if you don’t do this step)
• Plug in your cable data from phone to pc
VOILA THAT’S YOUR FIRST APP!!

Вам также может понравиться