Difference between revisions of "OS: Android - Android Studio"

From OnnoWiki
Jump to navigation Jump to search
Line 45: Line 45:
  
  
 +
==Instalasi Android Studio==
  
  
Installing Android Studio
 
  
    Download the Android Studio package from above.
 
    Install Android Studio and the SDK tools:
 
 
    Windows:
 
        Launch the downloaded EXE file, android-studio-bundle-<version>.exe.
 
        Follow the setup wizard to install Android Studio.
 
 
        Known issue: On some Windows systems, the launcher script does not find where Java is installed. If you encounter this problem, you need to set an environment variable indicating the correct location.
 
 
        Select Start menu > Computer > System Properties > Advanced System Properties. Then open Advanced tab > Environment Variables and add a new system variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21.
 
 
    Mac OS X:
 
        Open the downloaded DMG file, android-studio-bundle-<version>.dmg.
 
        Drag and drop Android Studio into the Applications folder.
 
 
        Known issue: Depending on your security settings, when you attempt to open Android Studio, you might see a warning that says the package is damaged and should be moved to the trash. If this happens, go to System Preferences > Security & Privacy and under Allow applications downloaded from, select Anywhere. Then open Android Studio again.
 
  
 
     Linux:
 
     Linux:
Line 74: Line 58:
 
That's it! You're ready to start developing apps with Android Studio.
 
That's it! You're ready to start developing apps with Android Studio.
  
Note: On Windows and Mac, the individual tools and other SDK packages are saved within the Android Studio application directory. To access the tools directly, use a terminal to navigate into the application and locate the sdk/ directory. For example:
 
 
Windows: \Users\<user>\AppData\Local\Android\android-studio\sdk\
 
 
Mac: /Applications/Android\ Studio.app/sdk/
 
  
 
For a list of some known issues, see tools.android.com/knownissues.
 
For a list of some known issues, see tools.android.com/knownissues.
Line 90: Line 69:
 
     To import an existing Android app project, click Import Project.
 
     To import an existing Android app project, click Import Project.
  
    Note: If you previously developed your Android project with Eclipse, you should first use the new export feature in the ADT plugin to prepare your project with the new Gradle build system. For more information, read Migrating from Eclipse.
+
 
 
For additional help using Android Studio, read Tips and Tricks.
 
 
 
As you continue developing apps, you may need to install additional versions of Android for the emulator and other packages such as the Android Support Library. To install more packages, use the SDK Manager, which you can open from Android Studio by clicking SDK Manager in the toolbar.
 
 
 
  
 
==Referensi==
 
==Referensi==

Revision as of 08:47, 21 February 2015

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

   Linux:
       Unpack the downloaded Tar file, android-studio-bundle-<version>.tgz, into an appropriate location for your applications.
       To launch Android Studio, navigate to the android-studio/bin/ directory in a terminal and execute studio.sh.
       You may want to add android-studio/bin/ to your PATH environmental variable so that you can start Android Studio from any directory.

That's it! You're ready to start developing apps with Android Studio.


For a list of some known issues, see tools.android.com/knownissues. Starting a Project

When you launch Android Studio for the first time, you'll see a Welcome screen that offers several ways to get started:

   To start building a new app, click New Project.
   This starts the New Project wizard, which helps you set up a project using an app template.
   To import an existing Android app project, click Import Project.


Referensi

Pranala Menarik