I’m learning Ionic framework to develop hybrid apps. However when I’m trying to build the application encountered “gradle” errors. If you encountered any of these errors follow below instructions
- Download gradle distribution from here.
- Go to “<<project>>/platforms/android/gradle/wrapper” paste the downloaded zip file at this location
- Edit <<project>>/platforms/android/gradle/wrapper/gradle-wrapper.properties replace distributionUrl to “gradle-x.x.x.zip” which you copied in above step.
This should solve gradle errors.
Advertisements