I am trying build a android apk, and the these error come out when I follow these step to build:
- ionic platform add android
- ionic build android
- Installed Android SDK
- Installed Gradle 3.3
- Installed Cordova
What did I try:
- Open Android studio and import my project to create a gradle-wrapper.properties
– It will create a gradle-wrapper.properties into the android\gradle\wrapper folder, however, after I execute
ionic build android, the properties file will be deleted and the error is still here.
- Install different version of Android SDK
- Recreate the Project
- Reset all the environment PATH
I have no idea what is the problem is it. How can I fix it?