Programmers learn & share
0 votes
41 views

Problem :

Facing following error related to class path
error:could not determine the class-path for interface com.android.builder.model.androidproject.
by (6.9k points)   | 41 views

1 Answer

0 votes

Solution :

Recently i have faced the same problem.

Change the classpath in build.gradle file to

classpath 'com.android.tools.build:gradle:2.3.0'

Now go to gradle-wrapper.properties, and change its distributionUrl

distributionUrl=http://services.gradle.org/distributions/gradle-3.3-all.zip

and lastly rebuild the project. 

It resolved my issue.

by (36.1k points)  
2,218 questions
2,683 answers
59 comments
241 users