Robotium: set compatible Android API level (15 or higher)

Install a compatible Android API level (15 or later)

Trying to run a new robotics test, I get this error. Does anyone know how to fix this?

I need all the APIs. (15 and many 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 each version of the support library from 25 + or + to at least 25. +, to avoid mixed libraries ... it works and starts. Although now I get this message:

JavaCompile.setDependencyCacheDir() gradle 4.0. java - . FAILURE: . * : "executorproject". > org.gradle.api.internal.tasks.DefaultTaskInputs $TaskInputUnionFileCollection org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection * : -stacktrace, . --info --debug, . BUILD FAILED : 1.883

? , .

+4
2
  • / F4, . SDK Location , Android SDK SDK, API.

  • , API 15 (>= ICE_CREAM_SANDWICH_MR1)

  • , API SDK :

: , Android Android- SDK

  1. Module Gradle , compileSdkVersion targetSdkVersion (, , minSdkVersion buildToolsVersion) versiona 15

  2. ( ) , ,

+3

, , , :

  • AVD, AVD- 25 . API Google. .
  • "" > "" > " " > "Android SDK" > "" SDK Android SDK .
  • , : + 25 + 25. +, .

( , ).

0

Source: https://habr.com/ru/post/1672738/


All Articles