这里是grale文件。
build.gradle(Project)
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(Module:app)
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
出了什么问题?
答案 0 :(得分:1)
有几个问题
依赖项应为:com.github.Kernelzero:Android-TiffBitmapFactory:1.0
该项目在该版本中存在构建错误。日志https://jitpack.io/com/github/Kernelzero/Android-TiffBitmapFactory/1.0/build.log
要查找打开的新构建日志: https://jitpack.io/#Kernelzero/Android-TiffBitmapFactory