How to fix the “Unable to load class ‘’.” error on Android Studio 3.2.1

The error message in IntelliJ

The error message in Android Studio


Step 1: From the left panel in your IDE, choose the android [name_of_project] folder
Step 2: look for the build. gradle file then double-click it to start editing it
Step 3: change exactly the line that states classpath
‘’ to the current version of your Android Studio, in other terms, classpath
‘’ in my case.

Step 4: After finishing Steps 1 & 2, go to the gradle folder
Step 5: Double-click on the wrapper subfolder
Step 6: Click the file to start editing it
Step 7: make sure that your gradle version is compatible with your current Android Studio distributionUrl=https\://

Reference here:

Click Here

Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x