Difference between revisions of "Eclipse: Instalasi"

From OnnoWiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 25: Line 25:
 
* klik Installed packages -> Android SDK tools, revision 12 > Update All > Accept All > Install
 
* klik Installed packages -> Android SDK tools, revision 12 > Update All > Accept All > Install
 
* klik Available packages -> Android Repository
 
* klik Available packages -> Android Repository
* Klik Available packages -> Third party Add-ons -> Install selected
+
* Klik Available packages -> Third party Add-ons -> Install selected > Accept All > Install
  
 
Pastikan sambungan ke [[Internet]] lancar.  
 
Pastikan sambungan ke [[Internet]] lancar.  
 +
Selanjutnya jalankan eclipse (misalnya dari shell)
 +
 +
eclipse
 +
 
Setup Eclipse untuk mengenali Android SDK
 
Setup Eclipse untuk mengenali Android SDK
  
* Help -> Install New Software -> work with: https://dl-ssl.google.com/android/eclipse/
+
* Help -> Install New Software -> work with: https://dl-ssl.google.com/android/eclipse/ > Add
 
* tunggu beberapa saat
 
* tunggu beberapa saat
 
* klik -> Developer Tools -> Next -> Next -> I accept -> Finish
 
* klik -> Developer Tools -> Next -> Next -> I accept -> Finish
 
* Reboot
 
* Reboot
  
Masuk ke
+
Selanjutnya jalankan kembali eclipse, masuk ke
  
 +
* Windows -> Preferences -> Android > SDK Location: /home/username/android-sdk-linux_x86 > Apply > OK
 
* Windows -> Android SDK and AVD Manager -> Available Packages -> klik paket -> Install Selected.
 
* Windows -> Android SDK and AVD Manager -> Available Packages -> klik paket -> Install Selected.
 
* Tunggu sampai selesai download
 
* Tunggu sampai selesai download

Latest revision as of 05:43, 14 August 2011

Instalasi

sudo apt-get install sun-java6-jdk eclipse 

Instalasi Android SDK

Download SDK dari

http://developer.android.com/sdk/index.html

Lakukan

cd ~
cp Downloads/android-sdk_r12-linux_x86.tgz ~
tar zxvf android-sdk_r12-linux_x86.tgz 
ls android-sdk-linux_x86/

Instalasi menggunakan perintah

cd ~/android-sdk-linux_x86/
tools/android 

Hati-hati langkah berikut akan membutuhkan sambungan langsung ke Internet dan membutuhkan waktu yang lumayan lama

  • klik Installed packages -> Android SDK tools, revision 12 > Update All > Accept All > Install
  • klik Available packages -> Android Repository
  • Klik Available packages -> Third party Add-ons -> Install selected > Accept All > Install

Pastikan sambungan ke Internet lancar. Selanjutnya jalankan eclipse (misalnya dari shell)

eclipse

Setup Eclipse untuk mengenali Android SDK

Selanjutnya jalankan kembali eclipse, masuk ke

  • Windows -> Preferences -> Android > SDK Location: /home/username/android-sdk-linux_x86 > Apply > OK
  • Windows -> Android SDK and AVD Manager -> Available Packages -> klik paket -> Install Selected.
  • Tunggu sampai selesai download

Install Plugin Source Code

Ada baiknya menginstalasi Plugin dari Haris Peco untuk mengakses ke Android Source code code.

Gunakan Eclipse update manager untuk menginstalasi plugin tersebut

Referensi

Pranala Menarik