w9568539 发表于 2019-1-21 16:48:12

ionic build android突然出现奇怪的问题.

有哪个大佬遇到这样的问题吗?之前能打包成功。今天突然不行了
cordova-android-support-gradle-release: Android platform: V6
      cordova-android-support-gradle-release: No custom version found in config.xml - using plugin default
      Running command: "D:\Program Files\nodejs\node.exe"
      D:\projectGillion\androidAppBrach\2019fixversion\20190124\hooks\after_prepare\010_add_platform_class.js
      D:\projectGillion\androidAppBrach\2019fixversion\20190124
      add to body class: platform-android
      cordova-android-support-gradle-release: Android platform: V6
      cordova-android-support-gradle-release: No custom version found in config.xml - using plugin default
      ANDROID_HOME=D:\projectGillion\android-sdk-windows
      JAVA_HOME=D:\Program Files\Java\jdk1.8.0_45
      Subproject Path: CordovaLib
      +-----------------------------------------------------------------
      | cordova-android-support-gradle-release: 27.+
      +-----------------------------------------------------------------
      Incremental java compilation is an incubating feature.

      FAILURE: Build failed with an exception.

      * What went wrong:
      A problem occurred configuring root project 'android'.
      > Could not resolve all dependencies for configuration ':_debugApkCopy'.
            > Could not resolve com.github.nanchen2251:CompressHelper:1.0.+.
            Required by:
                  :android:unspecified
               > Could not resolve com.github.nanchen2251:CompressHelper:1.0.+.
                  > Failed to list versions for com.github.nanchen2251:CompressHelper.
                     > Unable to load Maven meta-data from
      https://jitpack.io/com/github/nanchen2251/CompressHelper/maven-metadata.xml.
                        > Could not GET 'https://jitpack.io/com/github/nanchen2251/CompressHelper/maven-metadata.xml'.
                           > sun.security.validator.ValidatorException: PKIX path building failed:
      sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested
      target
页: [1]
查看完整版本: ionic build android突然出现奇怪的问题.