最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Android Studio Mirroring doesn't work on a specific phone - Stack Overflow

programmeradmin0浏览0评论

I have problem mirroring my Xiaomi Redmi A3 4.

All debug modes are enabled. PC debug fingerprint accepted at the phone. The phone is visible in adb.

Here is the log message:

2025-03-28 12:08:02,207 [92861308] SEVERE - CoroutinesUtils.kt - Device agent is not responding
java.util.concurrent.TimeoutException: Device agent is not responding
    at com.android.tools.idea.streaming.device.DeviceClient.withVerboseTimeout(DeviceClient.kt:351)
    at com.android.tools.idea.streaming.device.DeviceClient.access$withVerboseTimeout(DeviceClient.kt:130)
    at com.android.tools.idea.streaming.device.DeviceClient$withVerboseTimeout$1.invokeSuspend(DeviceClient.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:29)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)

I have another phone that works fine.

Android Studio Meerkat | 2024.3.1

Can't find anything on the web. Any help is much appreciated.

I have problem mirroring my Xiaomi Redmi A3 4.

All debug modes are enabled. PC debug fingerprint accepted at the phone. The phone is visible in adb.

Here is the log message:

2025-03-28 12:08:02,207 [92861308] SEVERE - CoroutinesUtils.kt - Device agent is not responding
java.util.concurrent.TimeoutException: Device agent is not responding
    at com.android.tools.idea.streaming.device.DeviceClient.withVerboseTimeout(DeviceClient.kt:351)
    at com.android.tools.idea.streaming.device.DeviceClient.access$withVerboseTimeout(DeviceClient.kt:130)
    at com.android.tools.idea.streaming.device.DeviceClient$withVerboseTimeout$1.invokeSuspend(DeviceClient.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.internal.ScopeCoroutine.afterResume(Scopes.kt:29)
    at kotlinx.coroutines.AbstractCoroutine.resumeWith(AbstractCoroutine.kt:99)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:46)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:102)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:735)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:732)
    at java.base/java.security.AccessController.doPrivileged(AccessController.java:400)
    at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:732)
    at java.base/java.lang.Thread.run(Thread.java:1583)

I have another phone that works fine.

Android Studio Meerkat | 2024.3.1

Can't find anything on the web. Any help is much appreciated.

Share Improve this question edited Mar 31 at 3:34 RusArtM asked Mar 28 at 5:25 RusArtMRusArtM 1,3003 gold badges17 silver badges26 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 0

I would've added a comment, but cant since my rep is still too low. So I am asking here:

I'd assume you already did the basic troubleshooting stuff like restarting both devices (pc & phone), disabling and then reenabling USB-Debugging, reinstall Android Studio completely (or just the device mirroring plugin).

But are you able to build and deploy your App onto said phone?

If true, maybe you could try and disable wifi on your device, so that it is forced to use the USB connection to mirror.

Try if it works using github/Genymobile/scrcpy .

发布评论

评论列表(0)

  1. 暂无评论