Jonathan
11/07/2023, 8:06 PMException thrown during onBeforeAll invocation of plugin com.google.testing.platform.plugin.android.AndroidDevicePlugin.
Failed to install APK(s): /Users/.../codelab-android-performance/benchmarking/macrobenchmark/build/intermediates/apk/benchmark/macrobenchmark-benchmark.apk
EOF
EOF
java.io.EOFException: EOF
at com.android.ddmlib.AdbHelper.read(AdbHelper.java:1196)
at com.android.ddmlib.SyncService.doPushFile(SyncService.java:745)
at com.android.ddmlib.SyncService.pushFile(SyncService.java:439)
at com.android.ddmlib.internal.DeviceImpl.syncPackageToDevice(DeviceImpl.java:1300)
at com.android.ddmlib.internal.DeviceImpl.installPackage(DeviceImpl.java:1200)
at com.android.tools.utp.plugins.deviceprovider.ddmlib.DdmlibAndroidDevice.installPackage(DdmlibAndroidDevice.kt)
at com.android.tools.utp.plugins.deviceprovider.ddmlib.DdmlibAndroidDeviceController$executeAsync$deferred$1.invokeSuspend(DdmlibAndroidDeviceController.kt:192)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:571)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:678)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:665)
Test device: Unrooted physical Pixel 8 Pro (Android 14).
IDE: Android Studio Hedgehog (2023.1.1) RC 2 Build #*AI-231.9392.1.2311.10980684*
Does anyone know what is the root cause of this exception?