Difference between Android Studio and Eclipse for development and debugging

What is pro and con for using android studio instead of eclipse?


Note :: I reviewed the answers here , the answers to which were published in CommonsWare, but there were not many debugging tools.


  • Are there any special debugging features in Android Studio that are not in the eclipse?

  • If so, what is it?

+6
source share
2 answers

I have widely used both IDEs. IMHO Android Studio is much better than Eclipse.
Some obvious benefits:

  • It supports gradle (this allows you to really control the assembly, create various applications, various subscription settings, etc.).
  • In the layout, you can view both the actual layout and xml at the same time, while in Eclipse you have to choose between two tabs.
  • Feels better. Performing refactoring (for example, renaming a method, retrieving a class) to view Logcat. Refactoring seems more robust, and Logcat doesn't β€œdisappear” like it does in Eclipse (although it should be noted that filtering doesn't work so well).
  • His future. Sooner or later, this will become the standard, as Google is actively developing it.

On the other hand, I can notice three things:

  • However, it is not so stable. For example, if you want to view your project modules in the module view (starting with v0.4.2 for Windows), I cannot see all of them. This actually means that in some cases the only thing you can do is build from the command line and edit the gradle script.
  • Since this is something relatively new, many libraries do not support it out of the box, whereas in Eclipse, since it has existed for so long, it is more or less trivial.
    One example of this is < Robolectric (a library that allows you to run Android block tests on your computer - that is, on any jvm). I really struggled to create Robolectric in the gradle project, and I never succeeded. In Eclipse, that was pretty easy.
  • The last thing that is connected with others: since Android Studio is completely new, you may not find answers on the Internet about the problems you are facing.

To summarize, it's a pity that I swayed the debugging tools a bit (although they both use the same ddms, so there is no difference, but I noticed that Logcat has a difference, as mentioned above). There is no real dilemma which is better. Android Studio is a period. The thing is when you are going to switch to it.

Just my two pennies.

+7
source

Android studio is very smart. He understands the context in which you work (because it is built on IDEA). And at the moment it is stable enough to work. I changed the IDE from eclipse to IDEA, and then to ADS, six months ago, and am very happy about it.

  • No, they give you the full functionality of the debugging process.
+2
source

All Articles