Phonegap构建失败:无法解析com.github.ergovia [...]

时间:2019-01-21 14:15:04

标签: phonegap-plugins phonegap-build phonegap

从今天早上开始,我启动构建后,

我收到此错误:


Could not resolve all files for configuration ':app:releaseCompileClasspath'.
> Could not resolve com.github.ergovia-mobile:android-transcoder:v0.1.10R_ergovia.
  Required by:
      project :app
   > Could not resolve com.github.ergovia-mobile:android-transcoder:v0.1.10R_ergovia.
      > Could not get resource 'https://jitpack.io/com/github/ergovia-mobile/android-transcoder/v0.1.10R_ergovia/android-transcoder-v0.1.10R_ergovia.pom'.
         > Could not GET 'https://jitpack.io/com/github/ergovia-mobile/android-transcoder/v0.1.10R_ergovia/android-transcoder-v0.1.10R_ergovia.pom'.
            > sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我尝试手动联系此链接(https://jitpack.io/com/github/ergovia-mobile/android-transcoder/v0.1.10R_ergovia/android-transcoder-v0.1.10R_ergovia.pom),但没有遇到任何问题。

从上次构建成功到现在,我没有更改config.xml。

我不知道发生了什么...。

这是我的config.xml:


<?xml version="1.0" encoding="utf-8"?>
<widget id="xx.xxx.xxx" android-versionCode="xx" versionCode="xx" version="xx" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
  <name>xxxxx</name>
  <description>xxx</description>
  <author>xxx</author>
  <content src="index.html" />
  <allow-intent href="http://*/*" />
  <allow-intent href="https://*/*" />
  <allow-intent href="tel:*" />
  <allow-intent href="sms:*" />
  <allow-intent href="mailto:*" />
  <allow-intent href="geo:*" />
  <allow-intent href="market:*" />
  <allow-intent href="camera:*" />
  <access origin="*" />
  <allow-intent href="*" />
  <allow-navigation href="*" />
  <icon gap:role="default" src="icon.png" />
  <icon gap:plateform="default" src="icon.png" />
  <preference name="phonegap-version" value="cli-8.0.0" />
  <preference name="orientation" value="portrait" />
  <preference name="exit-on-suspend" value="false" />
  <plugin name="cordova-plugin-battery-status" spec="1.2.5" />
  <plugin name="cordova-plugin-camera" spec="2.4.1" />
  <plugin name="cordova-plugin-device" spec="1.1.7" />
  <plugin name="cordova-plugin-geolocation" spec="2.4.3" />
  <plugin name="cordova-plugin-inappbrowser" spec="2.0.2" />
  <plugin name="cordova-plugin-network-information" spec="1.3.4" />
  <plugin name="cordova-plugin-statusbar" spec="2.3.0" />
  <plugin name="cordova-plugin-whitelist" spec="1.3.3" />
  <plugin name="cordova-plugin-file" />
  <plugin name="cordova.plugins.diagnostic" spec="3.7.3" />
  <plugin name="phonegap-plugin-barcodescanner" spec="7.1.0" />
  <plugin name="cordova-plugin-file-opener2" spec="2.0.19" />
  <plugin name="cordova-plugin-media-capture" />
  <plugin name="cordova-plugin-video-editor" />
  <plugin name="cordova-plugin-local-notifications" spec="https://github.com/katzer/cordova-plugin-local-notifications.git" />
  <!-- Gestion du stockage des fichiers-->
  <preference name="AndroidPersistentFileLocation" value="Compatibility" />
  <preference name="AndroidExtraFilesystems" value="sdcard,cache" />
  <preference name="DisallowOverscroll" value="true" />
  <platform name="android">
    <preference name="android-minSdkVersion" value="21" />
    <preference name="android-targetSdkVersion" value="26" />
    <allow-intent href="market:*" />
    <icon density="ldpi" src="res/icons/android/drawable-ldpi-icon.png" />
    <icon density="mdpi" src="res/icons/android/drawable-mdpi-icon.png" />
    <icon density="hdpi" src="res/icons/android/drawable-hdpi-icon.png" />
    <icon density="xhdpi" src="res/icons/android/drawable-xhdpi-icon.png" />
    <icon density="xxhdpi" src="res/icons/android/drawable-xxhdpi-icon.png" />
    <icon density="xxxhdpi" src="res/icons/android/drawable-xxxhdpi-icon.png" />
    <plugin name="cordova-android-support-gradle-release" spec="https://github.com/dpa99c/cordova-android-support-gradle-release.git" />
  </platform>
  <platform name="android">
    <plugin name="phonegap-plugin-push" spec="2.1.3" xmlns="">
      <param name="SENDER_ID" value="xxx" />
    </plugin>
    <plugin name="cordova-android-play-services-gradle-release" spec="https://github.com/dpa99c/cordova-android-play-services-gradle-release.git" xmlns="" />
    <plugin name="cordova-android-firebase-gradle-release" spec="https://github.com/dpa99c/cordova-android-firebase-gradle-release.git" xmlns="" />
    <resource-file src="google-services.json" target="/app/google-services.json" xmlns="" />
  </platform>
</widget>

谢谢您的帮助!

0 个答案:

没有答案