Difference between revisions of "Android"
From Bashlinux
Line 8: | Line 8: | ||
<pre><nowiki> |
<pre><nowiki> |
||
− | export PATH=${PATH}:<sdk_location>/tools |
+ | export PATH=${PATH}:<sdk_location>/tools:<sdk_location>/platform-tools |
</nowiki></pre> |
</nowiki></pre> |
||
Line 21: | Line 21: | ||
* Download and install plugin for the prefered IDE |
* Download and install plugin for the prefered IDE |
||
− | == |
+ | == Mobile Setup == |
This is to setup Android on running devices. |
This is to setup Android on running devices. |
||
# '''How to change the language on Android?''' |
# '''How to change the language on Android?''' |
||
Change country, language and timezone on /default.prop |
Change country, language and timezone on /default.prop |
||
+ | |||
+ | == Eclipse Setup == |
||
+ | This setup Eclipse and Android Eclipse Plugin on Linux |
||
+ | |||
+ | * Install Eclipse |
||
+ | |||
+ | <pre><nowiki> |
||
+ | yum install eclipse eclipse-jdt eclipse-gef |
||
+ | </nowiki></pre> |
||
+ | |||
+ | * Enable the proper eclipse repository, based on the release codename |
||
+ | |||
+ | <pre><nowiki> |
||
+ | http://download.eclipse.org/releases/<eclipse_release>/ |
||
+ | </nowiki></pre> |
||
+ | |||
+ | * Update eclipse, 'Help > Check Updates' |
||
+ | * Add the ADT on 'Help > Add New software' |
||
+ | * On the new dialog click on 'Add' button and add `https://dl-ssl.google.com/android/eclipse/` in location and `Android Plugin in name fild |
Revision as of 19:12, 7 November 2011
Android
SDK Setup
This is to build applications for Android
Linux Setup
- Download SDK
- Add to the `$PATH` the tools location
export PATH=${PATH}:<sdk_location>/tools:<sdk_location>/platform-tools
- Install add-ons and documentation
- Download and install plugin for the prefered IDE
Windows Setup
- Download SDK
- Install SDK
- Disable anti-virus
- Install add-ons and documentation
- Download and install plugin for the prefered IDE
Mobile Setup
This is to setup Android on running devices.
- How to change the language on Android?
Change country, language and timezone on /default.prop
Eclipse Setup
This setup Eclipse and Android Eclipse Plugin on Linux
- Install Eclipse
yum install eclipse eclipse-jdt eclipse-gef
- Enable the proper eclipse repository, based on the release codename
http://download.eclipse.org/releases/<eclipse_release>/
- Update eclipse, 'Help > Check Updates'
- Add the ADT on 'Help > Add New software'
- On the new dialog click on 'Add' button and add `https://dl-ssl.google.com/android/eclipse/` in location and `Android Plugin in name fild