Upgrading Eclipse SDK for Android Development - android

EDITED
Thought I'd follow up a bit more and add the info here (as opposed to adding more comments below).
After installing Galileo and finding it went well and no android problems, I installed Helios. It too went well and no Android problems (yet).
I did add the necessary lines to the eclipse config ini file to increase Memory size and added Garbage Collection. When I did this to Gannymede, it made a significant speed improvement but, I don't see any effect in either Galileo or Helios. Makes me think that since they are not natively added for these two versions (at least not for 64-bit Cocoa / Mac), they may not be used. Nonetheless, they seem to have no negative affect. If anyone has knowledge to share on this, I'm all ears...
Thanks
I'd like to get opinions on updating Eclipse for Android development.
I currently use Eclipse (Ganymede) 3.4.2. on a Mac (duo core intel)
I've read many posts regarding this and, while there are differing opinions, probably mostly with regard to the interface. I have read about issues with the Android SDK and ADT with Eclipse versions above 3.4.2. but, thus far, all posts seem to be prior to the Android Dev site recommending the following (they previously recommend not using above 3.4):
Eclipse 3.4 (Ganymede) or greater
Eclipse JDT plugin (included in most Eclipse IDE packages)
If you need to install or update Eclipse, you can download it from
http://www.eclipse.org/downloads/.
Several types of Eclipse packages
are available for each platform. For
developing Android applications, we
recommend that you install one of
these packages:
o Eclipse IDE for Java Developers
o Eclipse Classic (versions 3.5.1 and higher)
o Eclipse IDE for Java EE Developers
Some questions:
Is there an advantage in switching from 3.4.2 Ganymede to Classic 3.5.1?
Is it worth the trouble?
Is anyone having compatibility issues with Android and the ADT? using 3.5.1?
Thanks - any input/recommendations are appreciated...

I don't encounter noticeable problems with Helios (3.6.1). We bundle Helios (Classic more or less) and a bunch of plugins we write together with ADT to form MOTODEV Studio. As a general rule, the integration and support for Android have gotten better with each Eclipse release. I don't believe the Android team tests against Ganymede any longer, so at the very least I'd suggest moving to Galileo.

Related

NetBeans Android Installation error

first time NBandroid user here, I've followed the instructions of 1 video and 3 textual tutorials on installing it into NetBeans, I can create a Android project, The code itself doesn't give errors but when I try run it it gives an innumerably large amount of errors,
Screenshot here.
I have 32bit netbeans version 8.2, java 32bit version 8u111 and windows 8
64bit.
I did as they said to the best of my knowledge, downloaded SDK and all the extra packages i needed (but only android 4.4.2 API not earlier or later), loaded it under tools->options, set nb android in the update list etc, Any help appreciated, sorry if I left out any info, I really need this problem sorted out soon.
You shouldn't use Netbeans for developing Android apps.
Android Studio is the official IDE and NetBeans and Eclipse both are not supported by Google (the developer of Android).
Just try
Just had the same issue. It looks like NBAndroid does not work with Netbeans 8.2.
It worked for me with Netbeans 8.1.

Which is better for Android development - Eclipse Helios or Eclipse Galileo?

I am currently using the Helios version of Eclipse (v. 3.6) for Android development. I have read about the Galileo version (v. 3.5) as well. Before downloading I wanted to know what are the better features of Galileo over Helios (especially for Android development)?
I'm using the 3.6.1 version, which is an Helios version -- the current one being 3.6.2 -- and experience no problem with it.
Considering that Helios is more recent that Galileo, you should probably go with Helios -- after all, for most android-related stuff, it's the ADT plugin that should matter, and not the Eclipse version.
If you have read much about Galileo, it's probably because it was the current version when many people started developping for android.
But the documentation only says :
3.4 or newer is recommended
As a reference : releases of Eclipse, on Wikipedia.
I have had problems with Helios 3.6.1 in that content assist will freeze the system. This bug was introduced with the release of Helios (i.e. it does not affect Galileo). The bug is known and has been fixed for 3.6.2 and 3.7.
See: https://bugs.eclipse.org/bugs/show_bug.cgi?id=325829 for more detail.
So short answer, use either one but be sure to use the latest version of that release.
-Dan
There is an old thread where we talk about the slow auto-complete issue. I posted a fix
there
If you're looking for a great Android development environment, you might want to consider IntelliJ IDEA (Community Edition) It's free, and editing all the Android XML files is a pleasure with it. Not too shabby for Java development either!
I'm using Helios as well.
I found a good guide on how to get started, and if you aren't that good with Git and repositories for getting you the source code as well:
Here it is
Both should be just as fine, but I've seen Helios act a lot slower when exporting signed APKs (that's an action I only do once in a while, so it doesn't matter much). Just make sure you're always using the latest ADT plugin.

Which version of Eclipse to use with Android

I'm an old developer (Active since the Z80 days) starting fresh with Android.
The Android Developers page recommends installing Eclipse before installing the Android SDK.
It also states "There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice."
The Eclipse download page seems to offer 11 different flavors of the package. None mention Android and all seem to be the Version 3.6 that the Android Developers pages recommends avoiding. - What does one do?
Comments welcome
Joe Cullity
Get version 3.5 of Eclipse for Java Developers (you can reach this page via the "Older versions" link on the main download page). One of the problems I had with 3.6 was that autocomplete would freeze up for seconds at a time, trying to look up Android source. Until they fix that, 3.5 is better.
Once you've installed Eclipse, then you can follow the instructions to install the Android plugin.
What I'm running is Eclipse Galileo 3.5.0 and works great for me.
You want to download the "flavor" labeled Eclipse IDE for Java Developers from eclipse.org
I got MotoDev which is a complete Eclipse install with the Android SDK. It has emulators for all Moto phones. Perferct start in my opinion. Plus it's all Eclipse so you can all all the other options you want.
If you are interested download here:
http://developer.motorola.com/docstools/motodevstudio/download/
have fun, I am.

Eclipse Classic Version Differences?

I'm working on an Android project now where everyone (about 12 people) are using the Eclipse Galileo IDE 3.5.2. That decision was made last year when that version was relatively current. But we're at a good milestone where, if we wanted to make any changes, this would be a good time to do it, although we're not having any problems with Galileo. We're using the latest SDK.
Where can I get an idea of what the differences and improvements are between the different versions of Eclipse Classic's, (e.g. Galileo vs Helios) so I can form an opinion about whether we should switch to the latest version? (the latest version of Classic is 3.6)
Thanks for any comments.
The Eclipse Project download page for each major release has a link to a New and Noteworthy page which has an overview of the new stuff.

New to android dev

I am new to android dev, own an HTC Eris Droid (OS = 1.5 or 1.6 I believe). I am primarily a Microsoft .NET developer and am trying to figure out where to start.
What dev IDEs are suggested. I've seen the droid dev site and they suggest Eclipse. But which one?
Will installing Eclipse and the JRE interfere with .NET development?
What else will I need to get started? My OS is Win7.
TIA
As a .NET developer who has recently been looking at Android development, I can give you the steps I used:
Download Eclipse Classic 32-bit (as recommend by the Android docs) and extract it to a folder where it has write permissions (I use %homepath%\applications\eclipse\3.5\)
Download and extract the Android SDK to a permanent home and run SDK Setup.exe. Let it download/install all the packages
Add ANDROID_SDK_HOME\tools (expanded, obviously) to your %PATH% system environment variable in System Properties (WIN+BREAK)
Install the ADT (Android/Eclipse integration) plugin for Eclipse
Then to checkout the samples:
Create a workspace and a new Android project
Copy the contents of one of the samples (ANDROID_SDK_HOME\platforms\android-x.x\samples) into your project directory
Refresh your Eclipse view
I also strongly recommend checking out the Android Developer Guide and, in particular, reading the Application Fundamentals. It really gives a good overview of the terms used and the lifecycle of an application.
After that you can dive into the samples (installed by the SDK) with a little bit of clarity.
For development you will need*:
Java JDK - the JRE is not enough for Java development.
Eclipse - it doesn't really matter which "package" you choose, but for your needs the basic (smallest) one should be enough.
Android SDK + ADT
This should have no effect on .Net development, or on anything for that matter.
You don't actually need Eclipse and ADT, but since you asked about IDEs...
The android developer site system requirements says any version of Eclipse after 3.3.
Eclipse uses plugins to support different configurations that's why www.eclipse.org/downloads/ has so many different versions - they're the core IDE with different plugin configurations.
I'd recommend the 'Eclipse IDE for Java Developers' as this will have what you need without too many bits you don't - you can install additional plugins easily.
Of course, you'll also need to add the Android SDK once you have Eclipse - this is a set of tools and plugins that work with Eclipse.
Installing Eclipse and the JRE (Although you want the JDK - The Development Kit rather than just the runtime) will not interfere with your .Net development.
This version of Eclipse should work fine. Just select a download mirror.
You probably already have the JRE installed, but you should install the JDK from here.
Then you need to get the Android SDK, and ADT
After you install the Android SDK, it may be useful to create multiple virtual devices using the included Android emulator running different versions of Android. This will help you to learn features included in Android up to version 2.1 instead of being limited to your current device running 1.x.

Categories

Resources