简体   繁体   English

打开android设备监视器错误

[英]open android device monitor error

I cannot open android device monitor in android studio to see the database I saw the solutions in similar problems on this website , but doesn't working till now 我无法在android studio中打开android设备监视器来查看数据库,但我在此网站上看到了类似问题的解决方案,但到目前为止无法正常工作

在此处输入图片说明

my problem solved by download Java SE Runtime Environment http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html 通过下载Java SE Runtime Environment http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html解决了我的问题

and delete previous version 并删除以前的版本

I got the same problem, even i had the same jre. 我遇到了同样的问题,即使我有相同的jre。 However, the device monitor can be opened in another way in Android Studio 3.1 version. 但是,可以在Android Studio 3.1版本中以其他方式打开设备监视器。

View -> Tool Windows -> Device File Explorer 查看->工具窗口->设备文件资源管理器

Device File Explorer work same as a Android Device Monitor 设备文件资源管理器的工作方式与Android设备监视器相同

Note: Each device can be attached to only one debugger process at a time. 注意:每个设备一次只能连接到一个调试器进程。 So, for example, if you are using Android Studio to debug your app on a device, you need to disconnect the Android Studio debugger from the device before you attach a debugger process from the Android Device Monitor. 因此,例如,如果您使用Android Studio在设备上调试应用程序,则需要先从设备断开Android Studio调试器的连接,然后再从Android Device Monitor附加调试器进程。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM