Android CTS logcat 失败

标签 android logcat android-logcat cts

我正在尝试找到一种方法,让 cts-tradefed 在出现故障时获取 logcat 文件,也许还可以获取错误报告。主要是当我运行完整的 CTS 计划时,最后需要很长的日志是没有用的

最佳答案

如果 CTS 版本至少为 5.1_r3,您可以使用这些选项

--logcat-on-failure
--bugreport

日志将存储在 android-cts/repository/logs/

关于Android CTS logcat 失败,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33398260/

相关文章:

android - 由 : java. lang.ClassNotFoundException 引起:在路径上找不到类 "com.google.android.gms.common.internal.zzbq"

android - 每次 onActivityResult 在多链 Activity 中返回数据为 null

android - 如何在录音后创建 .wav 文件 - Android Studio

android - AndEngine GLES 2.0 - 电源按钮问题 - 应用程序崩溃 onResume()

android - VM 不允许我们分配 ** 字节

android - PhoneGap : diagnostic plugin is not working in iphone

android - 在 logcat 中监控 startActivity

android - 如何在 Android 的 TextView 中打印完整的 logcat 历史记录?

java - 错误: android. widget.LinearLayout 无法转换为 android.widget.ImageView