From 89cb71e3bb56b3b9cada663398bb4015b2394556 Mon Sep 17 00:00:00 2001 From: grishberg Date: Mon, 25 May 2026 16:55:48 +0300 Subject: [PATCH] Fix: remove hasInitialDeviceList() call that throws UnsupportedMethodException --- gradle.properties | 2 +- .../com/github/grishberg/androidstudio/plugins/AdbWrapper.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 32cc74f..6f34fe0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ pluginName=YALI # See https://plugins.jetbrains.com/docs/intellij/build-number-ranges.html # for insight into build numbers and IntelliJ Platform versions. sinceBuild=253.28294.334 -pluginVersion=26.04.12.0 +pluginVersion=26.05.25.0 # Use the latest of Android plugin versionAdd commentMore actions # see https://github.com/JetBrains/intellij-platform-gradle-plugin/releases # androidPluginVersion=251.25410.109 diff --git a/src/main/kotlin/com/github/grishberg/androidstudio/plugins/AdbWrapper.kt b/src/main/kotlin/com/github/grishberg/androidstudio/plugins/AdbWrapper.kt index bd6e2f8..ada3982 100644 --- a/src/main/kotlin/com/github/grishberg/androidstudio/plugins/AdbWrapper.kt +++ b/src/main/kotlin/com/github/grishberg/androidstudio/plugins/AdbWrapper.kt @@ -17,7 +17,7 @@ class AdbWrapperImpl(project: Project) : AdbWrapper { return false } - return androidBridge.isConnected && androidBridge.hasInitialDeviceList() + return androidBridge.isConnected } override fun connectedDevices(): List {