Android: Difference between revisions

From Bashlinux
Jump to navigationJump to search
Content deleted Content added
No edit summary
No edit summary
Line 4: Line 4:
* [[android-dev|Development environment]]
* [[android-dev|Development environment]]
* [[android-os|OS environment]]
* [[android-os|OS environment]]
== How to setup Android SDK ==
This is to build applications for Android
=== Linux Setup ===
* Download the [[http://developer.android.com/sdk|Android SDK]]
* Add to the `$PATH` the tools location
<pre><nowiki>
export PATH=${PATH}:<sdk_location>/tools:<sdk_location>/platform-tools
</nowiki></pre>

* 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

== How to setup Eclipse to build Android Apps on Linux ==
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 field

== 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

Revision as of 15:30, 4 June 2012