Wendel Santos
Wendel Santos

Reputation: 27

PHONEGAP - Error while starting emulated android on phonegap; I use the SDK installed by android Studio

The error I get on the console; When I run the command "phonegap emulate android"

->Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK. Looked here: C:\Users\wende\AppData\Local\Android\sdk\tools\templates\gradle\wrapper

Upvotes: 0

Views: 32

Answers (1)

B. Bale
B. Bale

Reputation: 116

I also experienced this issue (among many others) in my attempts to get a phonegap app to work in my environment.

I found a solution in the second response (by jcesarmobile) to this question: Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK - Android

Specifically, I had to make sure my Android Studio and Android SDK Tools were updated to the latest version, and then I had to update my Cordova Android platform to version 6.2.2.

phonegap cordova platform rm android
phonegap cordova platform add [email protected]

Upvotes: 1

Related Questions