我下载了有氧源和配置按照First build guide。但是当我运行'./gradlew build
'时,我得到的消息如下:
失败:构建因异常而失败。
其中: 构建文件'/media/hungnguyendata/eProtea/Projects/temp/card.io-Android-source/card.io/build.gradle'行:163
出了什么问题: 配置项目':SampleApp'时出现问题。
配置项目':card.io'时出现问题。 没有这样的属性:类的sonatypeUsername:org.gradle.api.publication.maven.internal.ant.DefaultGroovyMavenDeployer
之后,我为define属性sonatypeUsername创建了gradle.properties文件。像这样:“sonatypeUsername = sonatypeUsername sonatypePassword = sonatypePassword“。我收到了这条消息:
:card.io:buildNative
make:输入目录/Projects/temp/card.io-Android-source/card.io/src/main/jni'
make: *** No rule to make target
/ Projects / temp / card.io -Android-source / card.io / src / main / jni / card.io-dmz / processor_support.cpp',/Projects/temp/card.io-Android-source/card.io/src/main/obj/local/arm64-v8a/objs/cardioDecider/card.io-dmz/processor_support.o'. Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory
需要/Projects/temp/card.io-Android-source/card.io/src/main/jni”
:card.io:buildNative FAILED
失败:构建因异常而失败。
处理'命令'/ home / hungnguyen / applications / android-ndk-r10d / ndk-build''以非零退出值2完成