Tuesday, March 6, 2018

Error:Unable to resolve dependency for ':@debugUnitTest/compileClasspath' ':@debugUnitTest/compileClasspath': Could not resolve project :CordovaLib.">

Error:Unable to resolve dependency for ':@debugUnitTest/compileClasspath': Could not resolve project :CordovaLib.':@debugUnitTest/compileClasspath': Could not resolve project :CordovaLib.">


I commented the lines below in the build.gradle file:
//debugCompile project(path: 'CordovaLib', configuration: 'debug') 

//releaseCompile project(path: 'CordovaLib', configuration: 'release')
and added:
compile project(':CordovaLib')
This worked for me.

No comments:

Post a Comment