如何解决cordova构建中的android gradle问题

时间:2016-08-01 12:06:40

标签: android cordova gradle

我经常面对以下uissues,因此无法构建apk:

Error:A problem occurred configuring root project 'android'.
> Could not download artifact 'support-v4.aar (com.android.support:support-v4:24.1.1)'
   > Could not GET 'https://jcenter.bintray.com/com/android/support/support-v4/24.1.1/support-v4-24.1.1.aar'.
      > peer not authenticated

另外,我收到错误:

Error: Error code 1 for command: cmd with args: /s,/c,"...\platforms\android\gradlew cdvBuildDebug -b D:\...\...\platforms\android\build.gradle -Dorg.gradle.daemon=true
-Pandroid.useDeprecatedNdk=true"

0 个答案:

没有答案