Setting up Android IDE

From WickyWiki
Revision as of 20:52, 3 September 2014 by Wilbert (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


See also Android Tips and Tricks

There are good tutorials to be found for setting up Android IDE:

Update: there are complete Eclipse+Android packages that you can unzip and use.

Currently the official guide will use Eclipse 3.6, if you want to use Eclipse 3.7 or later you might want to use this guide:

The official guide tells you to use intall sun java (sun-java6-jdk). As I don't have that installed by default I use openjdk (java-6-openjdk) Additional info:

Some optional pointers to improve performance of Eclipse:

modify /opt/eclipse/eclipse.ini increase startup memory

-Xms64m

modify /opt/eclipse/eclipse.ini increase maximum memory

-Xmx1024m

modify /opt/eclipse/eclipse.ini enable use of multiple processors

-XX:-UseParallelGC
-XX:+AggressiveOpts
-XX:-UseConcMarkSweepGC
-XX:+UseFastAccessorMethods

Use Oracle sun-Java VM 7

increase Eclipse auto format line length

In Menu -> Window -> Preferences -> Code Style -> Formatter, edit the profile. Under the Line Wrapping tab is the option for line width. You will need to make your own profile. 120 is a good value.