Closed ksamti closed 5 years ago
Look at the output of the Gradle task :buildEnvironment
(for plugins) and :app:dependencies
(for "regular" dependencies) and check if there are conflicting dependency versions. You might have to exclude or force a specific version of com.google.code.findbugs:jsr305
.
Indeed ,there are a conflict in CheckForSigned class , i exluded com.google.code.findbugs:jsr305 and the compile works fine .thanks a lot
after integrating objectbox in encountred the follwing errors:
project gradle /****/ // Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript { ext.objectboxVersion = '2.3.4'
}
allprojects { repositories { google() jcenter() maven { url "https://maven.google.com" // Google's Maven repository
}
task clean(type: Delete) { delete rootProject.buildDir } /****/ APP gradle /***/
buildscript {
}
repositories { maven { url "https://maven.google.com" }
} apply plugin: 'com.android.application' apply plugin: 'io.fabric' android { compileSdkVersion 27 defaultConfig {
} configurations { compile.exclude group: 'androidx.annotation', module: 'annotation' } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'com.android.support:appcompat-v7:27.0.0' implementation 'com.android.support.constraint:constraint-layout:1.0.2' implementation 'com.android.support:support-v4:27.0.0' testImplementation 'junit:junit:4.12'
}
apply plugin: "com.google.gms.google-services" apply plugin: 'io.objectbox' // Apply last. /****/
Any help will be appreciated thanks :)