Search code examples
cordovavisual-studio-2015cordova-pluginsvisual-studio-cordova

Error:could not find the gradle wrapper within the android sdk


I'm new to Cordova application, I'm trying to run my first Cordova application in visual studio 2015. I'm getting this error please anyone helps me to resolve.

Error I'm getting is enter image description here I attached my Environment Variable Override Image.

This is my Environment variable Override


Solution

  • After so much of research, i found a solution by replacing wrapper folder from a .gradle file I found this file in C:\Users\.gradle\wrapper to your android_sdk wrapper file. example: D:\android-sdk\tools\templates\gradle\wrapper.