ADT v15: few things before updating

Last week i updated ADT from perfectly working v12 to v15. Now my graphical layout editor is broken in eclipse.There are few good thing comes along with it.

Few good thing happened is the compiling method is changed. Prior to v14 when ever we save a file or build a project eclipse build chain will  compile all resources like layout ,drawble etc . then compile all java class to class files then dex  them to dalvik executable  build apk from it. This usually take a little longer if you  have big project. New ADT doesnt make apk while building instead apk creation is only when you try to run the application in emulator or device.

Another good thing is compiling Library projects. earlier it was like we need to have full source of library project for referencing it from a main project. Now library project is compiled and packaged to a jar file , you can add this jar file to your main project build path. The only issue is that resources wont be included in jar file. Android recommends not to use any resources in library project  :(

Few bad thing happened after updating

  • In layout editor include tag will throw cant find layout error in layout editor but in actual app it works fine.
  • In layout editor randomly failed to fetch drawable in library project, in actual app it works fine.
  • Cleaning the project might pop up error message like “…jar is missing ” if a library project is referenced.
  • Sometime while running you might get a “Couldn’t  find apk” etc.

Sad thing is that these issues appeared in ADT version 14  after that there was two release v15 and v15.0.1 both failed to address the problem.

Update:  ADT v16 is still having problem. i cant believe ADT dev are doing this