
adt-addons
Additional Eclipse plugins for Android
- refactoring
- Eclipse cheatsheets
- packing Android sources
Refactoring (obsolete)
Android Refactoring supports Rename type, Rename package, Move type refactoring. It refactors the manifest, layout files and generated package.
See Rename Package.
This feature is included in the ADT 9.0.0.
Android SDK Installer
This plugin helps you to install ADT and Android SDK on Eclipse.
In order to use it, you can do the following:
- install "Eclipse IDE for Java Developers" (Helios SR1) from http://www.eclipse.org/downloads/ and start it.
You could try using Eclipse SDK Classic, but I haven't tested it.
- select Help>Install New Software and add a new update site:
Name: Android SDK Installer
Location: http://adt-addons.googlecode.com/svn/trunk/installer/com.android.ide.eclipse.installer.update/'>http://adt-addons.googlecode.com/svn/trunk/installer/com.android.ide.eclipse.installer.update/
- disable "Group items by category" if it's needed
- check "Android SDK Installer" and click Next.
- click Next on the "Install Details" page
- accept the terms of the license agreements and click Finish
Eclipse will install Android SDK Installer, ADT plugins and all their requirements.
- restart Eclipse
You will get the Android SDK Installer dialog:
http://snpe.rs/androidSDKDialog.png' />
- choose "Destination Location" for your Android SDK and click Install
You can also show to an existing Android SDK and the dialog will set a new Android Development environment.
Android SDK Installer will install:
- the latest Android SDK Tools and platform tools (currently V8)
- the latest Android Platform (currently 2.3)
- the latest API documentation
There is the contribution to platform/sdk project that implements this feature. See https://review.source.android.com/#change,19332'>https://review.source.android.com/#change,19332.
Now, you can start with the "Hello, world" cheat-sheet: Help>Android Development>Hello, world.
The cheat-sheet is based on standard Android Hello world tutorial. You can look at http://screencast.com/t/ODYxNTk5Z'>Hello, world cheat-sheet.
Android Sources
This plugin helps you to add source to android libraries in Eclipse.
In ADT >=8.0.0 you can add Android sources to Android container for all your project with installing the Android source feature using http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/'>http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/ update site
After installing the Android source feature all your existing projects as well as new created projects which is targeted for Android 4.0.1, 2.3.4, 2.3, 2.2, 2.1, 2.0.1, 1.6 and 1.5 will have attached the source jar.
The plugin includes sources for the following API levels:
- 14 - Android 4.0.1
- 10 - Android 2.3.4
- 9 - Android 2.3
- 8 - Android 2.2
- 7 - Android 2.1
- 6 - Android 2.0.1
- 4 - Android 1.6
- 3 - Android 1.5
The plugin is about 240 MB size.
Android Binary XML Editor (obsolete)
This feature is included in the ADT 11.0.0.
This plugin open xml files from the android.jar files.
Namely, a XML editor can't open these files because they are in binary xml file.
This plugin recognize the binary xml file and open corresponding file in SDK.
The problem is only AndroidManifest.xml. ADT's Manifest editor associate to "AndroidManifest.xml" and open all files with this name. This editor can't open binary xml. It is bug in ADT.
Update site: http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update/'>http://adt-addons.googlecode.com/svn/trunk/binedit/com.android.ide.eclipse.binedit.update/
API Analysis plugin
API Analysis plugin try to solve the issue described at http://code.google.com/p/android/issues/detail?id=13905'>http://code.google.com/p/android/issues/detail?id=13905 - ADT: Show warnings when using high-level API and a lower minSdkVersion than the targetSdkVersion.
It work on the following way:
- there is a compilation participant that compile an Android project yet another, but use android.jar from the minSdkVersion SDK instead of from target SDK. If errors exist they are converted to warning as : "API Level "minSdkVersion" compatibility problem ()".
The user can select to ignore these errors, show warning (default) or show error.
The compilation participant won't be executed in the following case:
- a project isn't Android project
- there isn't minSdkVersion declaration in the android manifest
- minSdkVersion >= target version
- there isn't minSdkVersion target within Android SDK
- there are errors in the project. It isn't trivial to separate compatibility problems from other errors. IMO, this check is important when the application work correctly on target platform. However, it's possible change this behavior
- property page is set to Ignore
Update site: http://adt-addons.googlecode.com/svn/trunk/apianalysis/com.android.ide.eclipse.api.analysis.updatesite/'>http://adt-addons.googlecode.com/svn/trunk/apianalysis/com.android.ide.eclipse.api.analysis.updatesite/
http://www.snpe.rs/apianalysis.png' />
Project Information
- License: Eclipse Public License 1.0
- 180 stars
- svn-based source control