我正在尝试按照https://github.com/libpd/pd-for-android上的说明创建一个.aar但是我正在运行一个很大的错误列表。
这些进展顺利
git clone https://github.com/libpd/pd-for-android.git
cd pd-for-android
git submodule update --init --recursive
在Windows命令提示符
上C:\Users\New folder\pd-for-android>gradlew PdCore:assembleRelease
错误是
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'pd-for-android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not resolve com.android.tools.build:gradle:1.5.0.
Required by:
:pd-for-android:unspecified
> Could not resolve com.android.tools.build:gradle:1.5.0.
> Could not get resource 'https://jcenter.bintray.com/com/android/tools
/build/gradle/1.5.0/gradle-1.5.0.pom'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/build
/gradle/1.5.0/gradle-1.5.0.pom'.
> peer not authenticated
> Could not resolve com.github.dcendents:android-maven-gradle-plugin:1.3.
Required by:
:pd-for-android:unspecified
> Could not resolve com.github.dcendents:android-maven-gradle-plugin:1.3.
> Could not get resource 'https://jcenter.bintray.com/com/github/dcende
nts/android-maven-gradle-plugin/1.3/android-maven-gradle-plugin-1.3.pom'.
> Could not HEAD 'https://jcenter.bintray.com/com/github/dcendents/a
ndroid-maven-gradle-plugin/1.3/android-maven-gradle-plugin-1.3.pom'.
> peer not authenticated
> Could not resolve com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4.
Required by:
:pd-for-android:unspecified
> Could not resolve com.jfrog.bintray.gradle:gradle-bintray-plugin:1.4.
> Could not get resource 'https://jcenter.bintray.com/com/jfrog/bintray
/gradle/gradle-bintray-plugin/1.4/gradle-bintray-plugin-1.4.pom'.
> Could not GET 'https://jcenter.bintray.com/com/jfrog/bintray/gradl
e/gradle-bintray-plugin/1.4/gradle-bintray-plugin-1.4.pom'.
> peer not authenticated
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or -- debug
option to get more log output.
BUILD FAILED
Total time: 15.752 secs
我对maven没什么经验,我需要一个项目的aar
答案 0 :(得分:1)
如果你只需要pda for android的.aar,你可以直接从JCenter下载它: