What Version of Eclipse do I use for Android? - android

I am sure this has been asked before, but I can not find a good answer. I want to create an Android app, I want to use Eclipse, but there are so many versions on the downloads page, and I am not sure which one I should use ... some of these include
>Eclipse IDE for Java EE Developers
>Eclipse Classic 4.2.2
>Eclipse IDE for Java Developers
>Eclipse IDE for C/C++ Developers
>Eclipse for Mobile Developers
Thank You :)

I would recommend the ADT Bundle, as it has a suitable version of Eclipse, plus the necessary Android plumbing, in one download.

The answer depends on what you want to use in Eclipse. If you are just starting in the Eclipse world go for the smallest (lightweight) packages because they will also make your Eclipse experience smoother (loading, UI, etc.). From your list above I would choose Classic, but, if you ONLY want to focus on Android development, you could try the Google prepackaged version of Eclipse (ADT, see below).
You can install either:
standalone Eclipse plus the ADT plugins or
the prepackaged version of Eclipse with ADT provided by Google (recommended)
If you already have an Eclipse installed (which you probably want if you already use Eclipse and want to keep the existing worspaces/preferences/etc.) you can only install the ADT plugins from here. And both Indigo and Juno versions of Eclipse should work. Of course that you should try and upgrade your workspace first to Juno and than install the ADT plugins to avoid any other surprises.
The Google prepackaged version of Eclipse is here and will give you less headaches because you have almost everything into it. You only have to use the prepackaged download manager inside Eclipse to download platform versions and device images (and many other tools and examples). This will use Eclipse Juno version.

I would recommend the classic version, but in my opinion intelliJ is better
http://www.jetbrains.com/idea/
Google has just announced at Google I/O a new IDE called "Android Studio" which
is based on IntelliJ and can be found here:
http://developer.android.com/sdk/installing/studio.html

Any will do, but the most recommended one is Mobile. Also check the new IDE that Google released just for that (Android Studio).

Download Eclipse Installer from https://www.eclipse.org/ (top right
corner)
After downloading start installer.
Check if there is an option as "for Android Developers". If there is
not, click the updates button on top right corner. It downloads
updates for installer. After the download is completed check again
the list.
Download Eclipse for Android Developers.

Related

Regarding Android NDK Removal

I have so many android ndks and sdks installed in my laptop and takes up space.
Because I use Android Studio I think I shouldn't uninstall the sdk but there are so many ndks.
Also, that I use Xamarin, I need one package of ndks so I thought which one should I uninstall.
And I can't see them in Programs and Features.
I'm using Windows, by the way. Any ideas?
I can't see them in Programs and Features.
The NDKs aren't "installed" like typical Windows programs. They are just extracted zip files. To remove them you just delete them from your file system.
To remove any downloaded with Android Studio, they can be removed via the SDK Manager in Android Studio. For things installed with other tools, they might have a similar solution.
You can have one installation of Android SDK/NDK and delete the rest. You can manually set the SDK and Path in the Visual Studio and Android Studio to use

More problems installing Android SDK and Eclipse

My first issue is: I cannot seem to find an executable for the Android SDK! I have downloaded and installed via the Android SDK Manager the necessarie files, at least I hope I have. To start the ball rolling I download: API 15, Android SDK tools and platform tools plus Android 3.2. Am I missing something? The problem is I cannot find any executable file to run my `Android SDK! Where is it?
I then went on to download Eclipse Java IDE, thinking that now I have my Android SDK installed it will surely run, the problem here is that when I try to run the executable of the download file it comes back with message:
'The Eclipse executable launcher was unable to locate it's companion shared library'
Any help as to what I could do to finally run my Android SDK or Eclipse Java IDE would much be appreciated.
Download eclipse 'Eclipse IDE for Java Developers' from:
http://www.eclipse.org/downloads/
Then download SDK from:
http://developer.android.com/sdk/index.html
This video can help you:
http://www.youtube.com/watch?v=BLLX9EtG6CI
In fact the SDK has several executables: adb, android, etc. You will access these via Eclipse and/or command line. Setting up the Android development environment is surprisingly painful. It's more or less described here. Try that, and when you run into your next roadblock, you let us know.
An alternative, if you're having troubles getting everything set up, is MOTODEV Studio from Motorola. It's a free product, but requires registration. One of the use cases we pay attention to is new developers who are having trouble with Eclipse and/or the Android SDK.
Disclaimer: it's my team's product.

Having a blackberry J2ME and Android Project under Eclipse

I am building a project under netbeans with a lot of preprocessing instructions. Netbeans handle that pretty well but unfortunately it is not very well supported as an IDE for blackberry and android.
So the idea behind this question is to import the project into eclipse in order to get the new features of every plugin and ease the development. I already found a pretty nice solution for handling preprocessing instructions with Antenna, but I would like to know how to handle the multiple facets of the project : an android project with ADT, a blackberry project with its plugin and finally a J2ME project as well. My goal is to taking advantage of the best plugins eclipse has to offer.
(And the project compiles with ant, so no real problem on this side).
Regards,
Stéphane
Well, you would have to create a separate project for each Android, Blackberry etc in the same workspace, then you would have to define the logical dependency between those projects. So if Project A is dependent on Project B, right-click on Project A in the project tree then Properties > Java Build Path > Projects and add the Project B to the list of projects Project A depends on.
This will allow you to work on Project B as if it was a stand alone project and you and work on Project A as if Project B was a part of it.
You can do this with any number of projects.
Regards,
get BB eclipse plugin from Blackberry site
install Android ADT manager from developer.android
install j2me wireless toolkit
create all project separately into same work space
use relative sdk for build path
after creating project you can also copy your source files to your project n file system, you can defile project dependency as Ali said
i reccomend to disable pre-processing, if you are using ant to build, just disabele it from windows > preference
My Suggestion to you is build your project in HTML5.If you are targeting the android as well as Blackberry .I do not Know How you will do it but It will be really easy to transform the the application of Blackberry to Android.
You have to install the BlackBerry plugin from the RIM site and it is a huge download that includes Eclipse itself. Then you can add the Android plugin via the Eclipse "Install New Software" menu.
I personally did it on my home machine and here is how How I had done
First install the the Eclipse plugin provided on blackberry developer site
Next install the android in same eclipse from Android developer site.
And voilla you are ready for android and blackberry development on single eclipse. I dont know about J2ME bcoz I no longer works on it but I think the plugin for Eclipse will do the work
This may not be quite what you're looking for but perhaps use Ant to do the builds, packaging etc. That makes it easier to support multiple platforms, set preprocessor macros etc. So the IDE would be used for mostly editing. Note that on BB you can have the IDE refer to the .jar thus resolving dependencies.
I had faced a similar issue. I installed Android first and was working on Google maps project .Since I shifted to Blackberry for a while, when i tried installing that plug-in,it did not accept it. Later after much research I found out that the Emulator for android was supporting Maps which inturn does not support installation of BlackBerry. Pretty weird. Like ber444 mentioned, BB plugin is a huge download file of 402 MB which consists of eclipse 3.5 support.
I was working on Ganneymede for android and installed indigo for BB but its not supported

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.

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