Difference between revisions of "Eclipse: Instalasi"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
(20 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
sudo apt-get install sun-java6-jdk eclipse | 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 | ||
+ | |||
+ | * Help -> Install New Software -> work with: https://dl-ssl.google.com/android/eclipse/ > Add | ||
+ | * tunggu beberapa saat | ||
+ | * klik -> Developer Tools -> Next -> Next -> I accept -> Finish | ||
+ | * Reboot | ||
+ | |||
+ | 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. | ||
+ | |||
+ | * http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update | ||
+ | * http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update | ||
+ | |||
+ | Gunakan Eclipse update manager untuk menginstalasi plugin tersebut | ||
==Referensi== | ==Referensi== | ||
Line 10: | Line 59: | ||
* http://www.vogella.de/articles/Android/article.html | * http://www.vogella.de/articles/Android/article.html | ||
* http://developer.android.com/sdk/index.html | * http://developer.android.com/sdk/index.html | ||
+ | * http://developer.android.com/sdk/installing.html | ||
+ | * http://www.kacangitem.web.id/2010/05/mencicipi-android-di-ubuntu.html | ||
==Pranala Menarik== | ==Pranala Menarik== | ||
* [[Programman Android]] | * [[Programman Android]] |
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
- Help -> Install New Software -> work with: https://dl-ssl.google.com/android/eclipse/ > Add
- tunggu beberapa saat
- klik -> Developer Tools -> Next -> Next -> I accept -> Finish
- Reboot
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.
- http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update
- http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update
Gunakan Eclipse update manager untuk menginstalasi plugin tersebut
Referensi
- http://ayushsuman.blogspot.com/2010/06/how-to-install-eclipse-on-linux-eclipse.html
- http://www.vogella.de/articles/Android/article.html
- http://developer.android.com/sdk/index.html
- http://developer.android.com/sdk/installing.html
- http://www.kacangitem.web.id/2010/05/mencicipi-android-di-ubuntu.html