I\'ve always programmed Android with Eclipse and decided to start migrating to Android Studio. I decided to use the same SDK I already had for Eclipse, then:
I got the same problems. I solved my problem by updating gradle.build for each sub-module to latest compiler version.