Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Go to the Android SDK directory and make sure there is no tools/templates/gradle directory
Maybe it’s the reason after Android studio upgraded to 3. X
Copy the templates in Android studio to tools
The path of templates in Android studio
Then go to the project directory
Execute ionic platform RM Android
Execute ionic platform add Android
Problem solving