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
Similar Posts:
- Plugin is too old, please update to a more recent
- Android Studio ERROR: SSL peer shut down incorrectly (Solved)
- Could not find com.android.tools.build:gradle:3.3.0.
- Android studio import project, error e rror:Unsupported method : BaseConfig.getApplicationIdSuffix().
- Ionic build android, Error: spawn EACCES [How to Solve]
- [Solved] Ionic3 Package Error: Could not resolve all files for configuration ‘:classpath’.
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- [Solved] Android Studio Error: Could not initialize class com.android.sdklib.repository.AndroidSdkHandler
- ‘tools.jar’seems to be not in Studio classpath Please ensure JAVA_HOME points to JDK rather than…
- Error occurred during initialization of VM Could not reserve enough space for 2097152KB object heap