cannot find gradle wrapper within android sdk

Solution Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK





C:\Users\rise\AppData\Local\Android\sdk\tools\temp lates\gradle\wrap
rise templates\gradle\wrap
sdk gradle

.

:

Gradle
Gradle" in my computer from the oficial website

;C:\gradle-4.0.1\bin
path ";"
Add the /bin folder to the Environment variable PATH,


1. Start -> Computer -> System Properties
2. Advanced system settings
3. Environment Variables
4. User Variables PATH
5. Edit

6. Variable value " ; " .
7. :
;C:\Users\miki\AppData\Local\Android\android-sdk\tools


cmd
gradle -v
check it typing "gradle -v" at your bash.

/templates/gradle/wrapper

Then create a folder on your skd/tools call it "/templates/gradle/wrapper"

cmd
:
cd
:
C:\Users\rise\AppData\Local\Android\sdk\tools\templates\


gradle wrapper
then execute inside "/wrapper" the system bash and type "gradle wrapper".




:

:
npm install -g [email protected]
:
npm update -g phonegap
:
phonegap platform remove android
:
phonegap platform add android