Trying to run a new robotium test I get this error. Does anyone know how to fix it?
I've all the APIs needed. (15 and a lot of higher APIs). What am I missing?
This is part of my gradle file:
android {
compileSdkVersion 25
buildToolsVersion "25.0.2"
defaultConfig {
applicationId "com.centervue.exam"
minSdkVersion 19
targetSdkVersion 25
// DO NOT PUT HERE VERSION NAME, THX. Change the Manifest
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
ndk {
moduleName "exam_filter"
ldLibs "log", "jnigraphics"
}
renderscriptTargetApi 18
renderscriptSupportModeEnabled true
}
[...]
UPDATE: after changing every support library versions from 25+ or + to at least 25.+ to avoid mixed libraries... it works and starts. Although now I get this message:
The JavaCompile.setDependencyCacheDir() method has been deprecated and is scheduled to be removed in Gradle 4.0. Incremental java compilation is an incubating feature. FAILURE: Build failed with an exception. * What went wrong: A problem occurred configuring root project 'executorproject'. > org.gradle.api.internal.tasks.DefaultTaskInputs$TaskInputUnionFileCollection cannot be cast to org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection * 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: 1.883 secs
Any idea? We are almost there I think.