Current version of AS has one really serious architecture problem. If you open project AS first run the gradle and then setup IDE according the result. But problem is if project contain some error, then is almost impossible to fix them.
For example I created new gradle submodule in my project and copy some sources from the main project to new module. It create some compile errors because of missing dependencies, different packageName than main project, etc. If I run compilation it still fail on some compilation error, so it is not possible to update project and IDE still think that R or BuildConfig doesn't exists and it is not possible to import them. All codes are generated in the build folder properly, but IDE doesn't know about them. Also changes in the dependencies are not reflected in the IDE. So IDE mark almost every 3rd party class with red color like Error and it is not possible to found real problem. Only way is run build again and again and check bug in the build outputs and import missing classes manually. In this situation works IDE like Notepad, no advanced feature is available :-( I think that IDE configuration should be upgraded also if gradle build fail. -- You received this message because you are subscribed to the Google Groups "adt-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
