Difference between revisions of "OS: Android - Android Studio"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 49: | Line 49: | ||
Siapkan aplikasi pendukung | Siapkan aplikasi pendukung | ||
+ | sudo apt-get update | ||
sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 \ | sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 \ | ||
android-tools-adb android-tools-fastboot python-lunch | android-tools-adb android-tools-fastboot python-lunch |
Revision as of 11:01, 14 July 2016
Android Studio
- Android Studio IDE
- Android SDK tools
- Android 5.0 (Lollipop) Platform
- Android 5.0 emulator system image dengan Google API
Kebutuhan System
Windows
- Microsoft® Windows® 8/7/Vista/2003 (32 or 64-bit)
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Java Development Kit (JDK) 7
- Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
Mac OS X
- Mac® OS X® 10.8.5 or higher, up to 10.9 (Mavericks)
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Java Runtime Environment (JRE) 6
- Java Development Kit (JDK) 7
- Optional for accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality
Di Mac OS, menjalankan Android Studio dengan Java Runtime Environment (JRE) 6 untuk mengoptimasi font rendering. Kita dapat mengkonfigurasi project kita untuk menggunakan Java Development Kit (JDK) 6 or JDK 7.
Linux
- GNOME or KDE desktop
- GNU C Library (glibc) 2.15 or later
- 2 GB RAM minimum, 4 GB RAM recommended
- 400 MB hard disk space
- At least 1 GB for Android SDK, emulator system images, and caches
- 1280 x 800 minimum screen resolution
- Oracle® Java Development Kit (JDK) 7
Di test di Ubuntu 14.04, Trusty Tahr (distribusi 64-bit yang mampu menjalankan aplikasi 32-bit).
Instalasi Android Studio
Siapkan aplikasi pendukung
sudo apt-get update sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 lib32ncurses5 lib32bz2-1.0 \ android-tools-adb android-tools-fastboot python-lunch
Siapkan Java Development Kit
- Download JDK 7 dari
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
- Lakukan
cp jdk-7u79-linux-x64.tar.gz /usr/local/src/ cd /usr/local/src/ tar zxvf jdk-7u79-linux-x64.tar.gz
- Export path JDK di /usr/local/src/jdk1.7.0_79
JAVA_HOME=/usr/local/src/jdk1.7.0_79 export JAVA_HOME PATH=$JAVA_HOME/bin:$PATH export PATH
Download
Siapkan Android Studio untuk di Instalasi
- Download Android Studio dari
http://tools.android.com/download/studio/stable https://dl.google.com/dl/android/studio/ide-zips/1.5.1.0/android-studio-ide-141.2456560-linux.zip
- Copy & Extrak
sudo su rm -Rf /usr/local/src/android-studio cp android-studio-ide-141.2456560-linux.zip /usr/local/src/ cd /usr/local/src/ unzip android-studio-ide-141.2456560-linux.zip
Menjalankan Android Studio
- Menjalankan android studio sebagai super user
sudo su cd /usr/local/src/android-studio/bin/ ./studio.sh
Jika kita ingin menjalankan android-studio dari path lainnya, kita dapat menambahkan android-studio/bin ke PATH
PATH=/usr/local/src/android-studio/bin:$PATH export PATH
Selesai sudah, kita siap menggunakan android-studio.
Jika kita pertama kali menjalankan Android Studio, kita akan melihat Welcome Screen yang memberikan beberapa cara untuk memulai:
- Untuk membuat apps baru, klik New Project.
- Ini akan menjalankan New Project wizard yang akan membantu kita untuk mensetup sebuah project menggunakan app template yang ada.
Referensi
Pranala Menarik
- Pemrograman Java
- Pemrograman Android
- Android: Aplikasi Menarik
- Android: Download APK
- Android
- Pemrogramman Android
- OS: Android - Mempersiapkan Development Environment
- OS: Android - Memeriksa Spesifikasi Handphone yang digunakan
- OS: Android - Membuat Mirror Source
- OS: Android - Download
- OS: Android - Download Source Untuk Device CyanogenMod
- OS: Android - Membuat Folder untuk Bekerja
- OS: Android - Mirror Source
- OS: Android - Mirror Source AOKP
- OS: Android - Mirror Source CyanogenMod
- OS: Android - Build
- OS: Android - Build CyanogenMod
- OS: Android - Build AOSP
- OS: Android - Build Untuk Motorola
- OS: Android - Modifikasi build.prop
- OS: Android - Porting Android
- OS: Android - Membuka Lock
- OS: Android - Android Studio