i use this comment to create apk file (ionic cordova run android)
*** What went wrong:**
A problem occurred configuring root project ‘android’.
> Could not resolve all dependencies for configuration ‘:classpath’.
** > Could not resolve com.android.tools.build:gradle:3.0.1.**
** Required by:**
** project :**
** > Could not resolve com.android.tools.build:gradle:3.0.1.**
** > Could not get resource ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom’.**
** > Could not HEAD ‘https://jcenter.bintray.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom’.**
** > Connect to jcenter.bintray.com:443 [jcenter.bintray.com/75.126.118.188] failed: Connection timed out: connect**
** > Could not resolve com.android.tools.build:gradle:3.0.1.**
** > Could not parse POM https://maven.google.com/com/android/tools/build/gradle/3.0.1/gradle-3.0.1.pom**
** > Already seen doctype.**
*** Try:**
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.