Existing apps are required to target API level 30 or higher beginning in November 2021. Note Beginning in August 2021, the Google Play Console requires that new apps target API level 30 (Android 11.0) or higher. My test runner is AndroidJUnit4::class as specified in the Robolectric 4.x docs. For more information about downloading and installing Android SDK components, see Android SDK Setup. I've added android.enableUnitTestBinaryResources=true to gradle.properties and configured = true in adle. : Failed to create a Robolectric sandbox: Android SDK 29 requires Java 9 (have Java 1) Tests won't be run on SDK 29 unless explicitly requested.Īt.AccountsRepositoryTest > testUpdateAccount FAILED /sdk/index.html Android Open Source project: Android. WARN: Android SDK 29 requires Java 9 (have Java 1). Tests won't be run on SDK 28 unless explicitly requested. WARN: Android SDK 28 requires Java 8 (have Java 1). Tests won't be run on SDK 27 unless explicitly requested. WARN: Android SDK 27 requires Java 8 (have Java 1). Tests won't be run on SDK 26 unless explicitly requested. WARN: Android SDK 26 requires Java 8 (have Java 1). Tests won't be run on SDK 25 unless explicitly requested. WARN: Android SDK 25 requires Java 8 (have Java 1). Tests won't be run on SDK 24 unless explicitly requested. WARN: Android SDK 24 requires Java 8 (have Java 1). Tests won't be run on SDK 23 unless explicitly requested. WARN: Android SDK 23 requires Java 8 (have Java 1). Tests won't be run on SDK 22 unless explicitly requested. WARN: Android SDK 22 requires Java 8 (have Java 1). Tests won't be run on SDK 21 unless explicitly requested. RunnerActivityandroid:label was tagged at AndroidManifest.xml:28 to. WARN: Android SDK 21 requires Java 8 (have Java 1). Theres somewhere that i can find which Android SDK packages i have to download on. Tests won't be run on SDK 19 unless explicitly requested. WARN: Android SDK 19 requires Java 8 (have Java 1). Tests won't be run on SDK 18 unless explicitly requested. WARN: Android SDK 18 requires Java 8 (have Java 1). Tests won't be run on SDK 17 unless explicitly requested. WARN: Android SDK 17 requires Java 8 (have Java 1). Tests won't be run on SDK 16 unless explicitly requested. WARN: Android SDK 16 requires Java 8 (have Java 1). I'm trying to run my android tests via robolectric, but it get the following error message: at.AccountsRepositoryTest STANDARD_ERROR
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |