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

I have looked at many other posts but I cannot find a solution that allows me to keep the current version of SDK Tools 25.3.1

OS: Linux Mint
Ionic version: 2.2.1
Cordova version: 6.5.0
SDK Tools 25.3.1

When I run the terminal command: ionic run android

I receive the below terminal error:
Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: /home/myUserName/Android/Sdk/tools/templates/gradle/wrapper

The β€œ/home/myUserName/Android/Sdk/tools/” path does exist but β€œ/templates/gradle/wrapper” portion of the file structure does NOT exist for SDK Tools 25.3.1

Any help with this would be great! Thanks

Looks like Cordova is fixing the problem. Reference Found HERE. Hopefully the update to Cordova resolves this issue.

1 Like