将调试器附加到Android进程按钮未显示对话框窗口

1sbrub3j  于 2022-09-20  发布在  Android
关注(0)|答案(1)|浏览(516)

点击Attach Debugger to Android process按钮不会显示选择Android进程的对话框窗口。什么都不会发生

到目前为止,我尝试过的是:

  • 扼杀亚行,重启
  • 重启设备
  • 试用新设备
  • 重启笔记本电脑
  • 使缓存无效

是什么导致了这个漏洞?

它与其他项目合作得很好。

bakd9h0s

bakd9h0s1#

所以最终解决了这个问题。弹出一些随机错误通知,错误如下:
异常:/Users/amanbansal/Documents/Projects//benchmark/macro/build/intermediates/apk_ide_redirect_file/debug/../../../outputs/apk/debug/output-metadata.json(没有这样的文件或目录)位于java.base/java.security.AccessController.doPrivileged(Native方法),位于java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)。Com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:885)at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:814)at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:751)at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:441)at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:440)at com.intellij.Openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:492)at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)at java.Desktop/java.awt.EventDispatchThre.Java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)上的PumpEvents(EventDispatchThread.Java:101)

已从模块中删除Build文件夹。

相关问题