0

这是grale文件。

build.gradle (项目)

buildscript {
repositories {
jcenter()
    maven { url 'https://maven.fabric.io/public'}
}
dependencies {
    classpath 'com.android.tools.build:gradle:2.2.3'
    classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

    classpath 'io.fabric.tools:gradle:1.+'
    }
}

allprojects {
    repositories {
        jcenter()
        maven { url 'https://maven.fabric.io/public'}
        maven { url 'https://jitpack.io' }
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

build.gradle(模块:应用程序)

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.google.code.gson:gson:2.8.0'
compile 'org.apache.maven:maven-artifact:3.3.9'

// https://mvnrepository.com/art.../commons-codec/commons-codec
compile group: 'commons-codec', name: 'commons-codec', version: '1.9'

compile('com.crashlytics.sdk.android:crashlytics:2.6.6@aar') {
transitive = true;
}
compile 'com.github.Kernelzero:androidtiffbitmapfactory:1.0'
// compile 'com.github.beyka:androidtiffbitmapfactory:0.9.1'
}

我确实在 jitpack 上注册了分叉的 git 项目

但我收到错误日志。

无法解决:com.github.Kernerlzero:androidtiffbitmapfactory:1.0

怎么了?

4

1 回答 1

1

有几个问题

  1. 依赖项应该是:com.github.Kernelzero:Android-TiffBitmapFactory:1.0

  2. 该项目在该版本存在构建错误。日志中的更多详细信息https://jitpack.io/com/github/Kernelzero/Android-TiffBitmapFactory/1.0/build.log

要打开新的构建日志: https ://jitpack.io/#Kernelzero/Android-TiffBitmapFactory

于 2017-02-03T16:32:35.747 回答