Android sdk 14 emulator appears, but no device connected in tests

Hello Jenkins Android Emulator Plugin and configured the emulator with the following properties:

Android OS version -14
Screen density - 320
Screen resolution - 1280x720
Device locale en_US
SD card size 100M
Target ABI armeabi-v7a

      

The work starts well, if I log into the vm via vnc, I see the emulator appears, all my gradle preparation tasks are good, but when the tests started, the emulator shut down immediately and the tests ended with an error: no devices connected!

part of my log:

[LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:connectedAndroidTest
[DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':app:connectedAndroidTest'
13:37:59 13:38:00.119 [ERROR] [org.gradle.BuildExceptionReporter] >  com.android.builder.testing.api.DeviceException: java.lang.RuntimeException: No connected devices!

      

All android sdks from version 15 to 21 are ok, the problem is only with the 14th version.

Really don't know what to do

+3


source to share





All Articles