Open federicotarantino opened 8 years ago
I can confirm this happens after upgrading cordova android platform to >= 6.0.0
As this is also a problem for me, any help to finding out what's causing this would be nice...
It seems a bug of cordova in 6.4.0. Try with 6.3.0. Worked for me (you must remove platform and re-add)
I'm using Cordova 6.5.0 & Cordova-Android 6.1.2, i am also seeing this error message. I'll try downgrading versions, to locate which version introduced this.
Cordova-Android 5.2.2 is highest working version for avoiding this error message. Main Cordova version doesn't matter.
How can we fix up the code to build with lastest Cordova-Android 6.1.2 ?
I've just found a workaround. It's working on Cordova-Android 6.2.3.
depsList += ' debugCompile(project(path: "' + libName + '", configuration: "debug"))
, and
depsList += ' releaseCompile(project(path: "' + libName + '", configuration: "release"))
(these lines were 136 and 138 here. It might change depending on your cordova-android version)depsList += ' debugCompile(project(path: "' + libName + '"))';
, and
depsList += ' releaseCompile(project(path: "' + libName + '"))';
That's it. Hope it helps someone out there
Steps to reproduce:
cordova create test cordova platform add android cordova plugin add cordova-plugin-connectsdk cordova build android
I have this error: A problem occurred configuring root project 'android'. Cannot evaluate module Connect-SDK-Android : Configuration with name 'debug' not found.
It seems a gradle error.
Thanks