Android + Eclipse 4.1 - android

I installed the android plugin for eclipse, on eclipse 4.1. Everything works except the DDMS perspective.
Any of you guys know a solution?

You should use Eclipse 3.7. Eclipse 4.* is a work in progress and shouldn't be used in production environments yet.

Seems to be fixed in 4.2
http://code.google.com/p/android/issues/detail?id=19105

While I agree with Chris that 3.7 is the stable environment to use, there's not really anything wrong with using an unstable development environment if you're willing to accept the risks that go along with it (generally I would think that issues would mostly be limited to design-time and not run-time). If the only thing that is missing is the DDMS perspective, you could consider simply running DDMS directly instead of inside Eclipse.

Related

Can Eclipse ADT still be used for Android Development?

Can Eclipse in conjunction with ADT still be used for Android Development (and if yes, how do I go about it) or should I just keep using Android Studio?
I tried setting up ADT on my Eclipse, but it wouldn't work (after many, many tries).
Any advice would be appreciated.
yes you can but the best practice for android development is by using Android Studio because linux users has also problem with eclipse. you can take help from below link
https://stuff.mit.edu/afs/sipb/project/android/docs/sdk/installing/installing-adt.html
but as per my suggestion you should use Android Studio because if you are using eclipse then you need to migrate the code also.

Android/Eclipse & Xcode on Mac

Sorry for the super dumb question, but is there any problem using the Android/Eclipse SDK on the same mac computer with Xcode? Is there anything special that needs to be done when installing or configuring the Android/Eclipse SDK on the same mac as Xcode?
Also, there seems to be a number of versions for Android/Eclipse. Which is the best and why? We would want our apps to be as backwardly compatible as possible, so please factor that in to any answers if it is relevant.
Thanks in advance for any help. It's much appreciated.
There is no problem installing Eclipse along with the Android SDK on a Mac computer which has XCode installed on it. Though, there will be no integration at all between both and you will not be able to use the SDK on XCode.
As for which Eclipse version to pick, pick the oen that suits your needs. If you're only going to use it for Android development then Java SE or classic should do.

To develop in Android is it an absolute necessity to use Eclipse?

Do I need to use Eclipse IDE in order to develop in Android ? Most of the user guides insist on Eclipse !
No, it isn't. See developer.android.com for instructions on how to develop, both with and without eclipse.
Managing Projects from the Command Line and Building and Running from the Command Line, for example, shows how to manage and build a project (without Eclipse), respectively.
Eclipse is very good IDE for android application development. Otherwise there are other IDE's like:
Netbeans, JetBrains as mentioned by DAC
Plus you have got:
IntelliJ
No, it isn't; however, I don't see why you'd want to do otherwise. It greatly simplifies things when using Google's own SDK and Eclipse plugins.
I think it may be somewhat futile to develop for Android without an IDE if you plan on using the emulator, debugging and anything else that is useful for Android development; however, most of the other large Java IDE's support android:
NetBeans
JetBrains
No it's not. You could even use nicer languages like scala... (take with a pinch of salt)

Eclipse Android Plugin sluggish

I have recently installed the most recent Android Plugin for Eclipse on the most recent Eclipse version. The problem is that the syntax proposals are now very, very slow. I have to switch them off.
To be precise. If I press "." after an Android class instance, it takes several seconds, before the proposals for the methods appear, and I can continue typing. After I type a letter, it takes again seconds before I can continue.
Looks like the program is download something from a very slow server. This problem does not exist with Java core classes, and it did also not exist in the previous version I was using.
Is there anything I can do about that?
Rene
In fact, the slow syntax proposals issue is only for the android classes.
I found this fix that completely resolves my issue.
You just need to put the android source files in the sdk folder.
See the full solution here:
http://envyandroid.com/archives/66/slow-android-autocomplete-eclipse-helios-36
I tested it and it did a miracle on my machine.
I had the pauses on auto-complete too, and there's an existing question about it. For me, the solution was to switch to Eclipse 3.5 instead of 3.6; this is advised on the Android Developers website (though it's not a very prominent message!):
Caution: There are known issues with the ADT plugin running with Eclipse 3.6. Please stay on 3.5 until further notice.
Others have had luck modifying eclipse.ini settings to force Java 1.6 and increase the amount of memory used, though this was for combating general slowness.
I'm not trying to flamebait here, but please do consider the Intellij IDEA for Android development. I switched from Eclipse to IDEA for Android development about a year ago and I'm quite happy.
Intellij IDEA for Android has just been open-sourced.
I saw the keystroke delay happen when I first used eclipse as a result of using the "wrong" JRE to run eclipse (which is itself a java application). Try making sure you are using the JRE that comes with the JDK from Sun, er, Oracle. Unfortunately more nobly motivated alternatives may not work as well.
For best performance and hassle free I would recommend the best combination is :
1) Eclipse (J2EE) 3.5
2) JDK 1.6 Update 20
and remaining all are not worth for setting Android development.

Developing Android with other IDE rather than Eclipse

Hi all
I want to start Android development but I just don't like Eclipse. (Yes, I am picky. lol)
Is there any other good IDE rather than Eclipse that really WORKS with Android SDK? (QT maybe?)
Thanks in advance
Ignacio
UPDATE:
I am on Mac OS X. Is there any plugin for Xcode that makes the trick of linking Android SDK with it?
Nope, my personal experience shows that Netbeans Android plugin (aka nbandroid) is too buggy. I'm using Intellij IDEA - which is fantastic
As for IDEs, Netbeans is pretty good for Android development.
Basically, every text editor or IDE can be used with some amount of tweaking. See this reference as a way to get started: http://developer.android.com/guide/developing/other-ide.html
Update: A page dedicated to alternative IDEs was removed from Android dev guide. A page about workflow & tools has some information on the subject: http://developer.android.com/tools/workflow/index.html#ThirdParty
Eclipse is just a terrible, buggy pile of garbage from top to bottom, and most people have told me NetBeans doesn't have a mature Android implementation.
How difficult is it to setup Intellij IDEA for Android development, and what should I expect versus developing for Android on Eclipse?
I advise Android bundle for TextMate: https://github.com/nesterow/Android.tmbundle It's lightweight and easy to use. There is no intellisense, but actually it just makes you remember namespaces better. :)

Categories

Resources