Cordova 错误:任务';的执行失败:应用程序:mergeReleaseResources';

Cordova 错误:任务';的执行失败:应用程序:mergeReleaseResources';,cordova,ionic-framework,Cordova,Ionic Framework,我正在用ionic构建一个应用程序,我想将该应用程序导出到apk,但在命令提示符下运行此ionic Cordova build android--prod--release时出现此错误 FAILURE: Build failed with an exception. * What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'. > Could not resolve all

我正在用ionic构建一个应用程序,我想将该应用程序导出到apk,但在命令提示符下运行此
ionic Cordova build android--prod--release
时出现此错误

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.
   > Could not resolve com.android.support:support-annotations:27.+.
     Required by:
         project: app
      > Failed to list versions for com.android.support:support-annotations.
         > Unable to load Maven meta-data from https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/maven-metadata.xml.
            > Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/maven-metadata.xml'.
               > dl.google.com
      > Failed to list versions for com.android.support:support-annotations.
         > Unable to load Maven meta-data from https://maven.google.com/com/android/support/support-annotations/maven-metadata.xml.
            > Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/maven-metadata.xml'.
               > dl.google.com
      > Failed to list versions for com.android.support:support-annotations.
         > Unable to load Maven meta-data from https://maven.google.com/com/android/support/support-annotations/maven-metadata.xml.
            > Could not HEAD 'https://dl.google.com/dl/android/maven2/com/android/support/support-annotations/maven-metadata.xml'.
               > dl.google.com

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 22s
Command failed with exit code 1: C:\Users\****\platforms\android\gradlew cdvBuildRelease -b C:\Users\****\platforms\android\build.gradle
[ERROR] An error occurred while running subprocess cordova.

        cordova.cmd build android --release exited with exit code 1.

        Re-running this command with the --verbose flag may provide more information.
我已经在线搜索或解决方案,但没有找到有帮助的答案,请我需要你的帮助,我不知道是否因为我更新了我的android studio,我得到了这个错误,请我该怎么办