Unsupported method: AndroidProject.getVariantNames() in Android Studio 3.4
I just updated to Android Studio 3.4 (Canary 5) . Then I opened my existing project (which worked perfectly on Android Studio 3.3 Beta) and received this error: ERROR: Unsupported method: AndroidProject.getVariantNames(). The version of Gradle you connect to does not support that method. To resolve the problem you can change/upgrade the target version of Gradle you connect to. Alternatively, you can ignore this exception and read other information from the model. Full clean & rebuild, Invalidate cache & restart, re-import project does not work. gradle-wrapper.properties : distributionBase