java - 为什么我在 IntelliJ logcat View 中看不到任何错误?

标签 java android intellij-idea logcat android-logcat

我在 intellij 14 IDEA 中编写 Android 应用程序(基于 gradle)。

我的应用程序在调试中崩溃,但我在 logcat 中看不到任何堆栈跟踪或错误日志。

怎么可能呢? (我的应用程序,详细级别)

enter image description here

当我更改为(无过滤器,详细级别)时,我看到了错误:

enter image description here

最佳答案

你必须找到类似 Perspective 的东西(位于页面顶部 -> 右侧,在 Eclipse 位置,我们在 Eclipse 中称之为 Perspective),并将其从 DDMS 或类似的东西更改为 java。 java 将成为您的默认视角 之后您还会看到 logcat。

关于java - 为什么我在 IntelliJ logcat View 中看不到任何错误?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27585320/

相关文章:

java - xls 和 xlsx 文件是否有统一的 ExcelExtractor 类和工厂?

java - Spring Security 禁用默认登录页面

java - 如何在 TableLayout 中创建空 TableRow

javascript - IntelliJ 未解析的函数或方法与 jQuery

eclipse - IntelliJ IDEA 相当于 Eclipse "Link with Editor"

spring-boot - Wildfly 中部署的 Spring Boot 应用程序 "Failed to instantiate WebApplicationInitializer class"

java - 我在编写测试驱动程序时遇到了麻烦

java - 使用Java反射和泛型: can a method specify an actual type as its return value?

android - USB调试如何获取数据库文件?

android - 在 ExpandableListview 的 Childview 中添加 map 时出现问题