While working in Apache Cordova tools for Visual Studio 2015 I came across following error
java.lang.IllegalArgumentException: Cannot find JAR 'groovy-all-2.3.6.jar' required by module 'gradle-core' using classpath or distribution directory 'C:\Users\Admin.gradle\wrapper\dists\gradle-2.2.1-all\2m8005s69iu8v0oiejfej094b\gradle-2.2.1'
--From Output
Severity Code Description Project File Line Suppression State Error BLD106 ERROR building one of the platforms: Error code 1 for command: cmd with args: /s,/c,"E:\Proj\BlankCordovaApp3\BlankCordovaApp3\BlankCordovaApp3\platforms\android\gradlew cdvBuildDebug -b E:\Proj\BlankCordovaApp3\BlankCordovaApp3\BlankCordovaApp3\platforms\android\build.gradle -Dorg.gradle.daemon=true -Pandroid.useDeprecatedNdk=true" BlankCordovaApp3 1
--Actual Error
Its working fine in Ripple, but when the build switched to Device the above error occurs