0

Just a curious question. Clean and build take a few moments, at least. But how much code does the editor actually have to go through to do the build. It doesn't seem like it should be that much to be as slow as it is.

EDIT:

I received a duplicate answer flag, but the answer that was linked has to do with deleting an element from an array in C# and has nothing to do with my question.

  • Possible duplicate of [How to delete an element from an array in C#](http://stackoverflow.com/questions/496896/how-to-delete-an-element-from-an-array-in-c-sharp) – Ahmed I. Elsayed Nov 29 '16 at 07:34
  • Usefull info is there. http://stackoverflow.com/questions/30817871/android-studio-is-too-slow – waqas ali Nov 29 '16 at 07:44

1 Answers1

0

It depends on a project but simply put android does not use standard java classes it needs dex files.

Thus android process for build goes like:

javac -> java2dex -> apk -> sign

That's a lot of work, in fact with jack it should be better however its not that much :)

Inverce
  • 1,487
  • 13
  • 27