Getting Started with Android!

Dalam postingan kali ini saya akan memberikan tutorial instalasi Android SDK di Eclipse, cukup mudah ternyata🙂.

Instalasi

  1. Pastikan anda sudah menginstall Eclipse.
  2. Download Android SDK di sini.
  3. Gunakan Eclipse Update Manager untuk menginstall plugins yang tersedia untuk Android Development Tools (ADT) dari link https://dl-ssl.google.com/android/eclipse/
  4. Di Eclipse, buka Window – Preferences. Pilih Android dan path instalasi sesuai letak folder dari SDK yang tadi di download.
  5. Buka Window – Android SDK and AVD Manager.
  6. Pilih saja package yang tersedia, yang versi terbaru.
  7. Klik Install Selected, confirm license, lalu restart Eclipse.
  8. Kembali ke menu Android SDK and AVD Manager, klik Virtual Devices, klik New.
  9. Klik Create AVD, pilih device, klik Start!
  10. Emulator android akan berjalan… (agak lama :mrgreen:).

Error yang biasa terjadi :

  • Project … is missing required source folder: ‘gen’
  • The project could not be built until build path errors are resolved.

Solusi : Klik menu Project – Clean.

  • tes does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner in its AndroidManifest.xml

Solusi : Klik kanan project – Run As – Run Configurations

Membuat Project

  • Klik File – New – Android Project
  • Pilih salah satu dari Create project in workspace, existing source atau existing sample.

Sekian dulu, semoga bermanfaat. Selamat Ngandroid! (^_^)\m/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s