I have an IntelliJ 14.1.2 Project consisting of two modules - one is an Android Gradle based module and the other is a Spring Java-based module with Maven.
gps-track
You can simply downgrade your gradle dependency to fit your current android studio version.
dependencies { classpath 'com.android.tools.build:gradle:3.5.2' .... }
Worked for me.