【问题标题】:AOSP emulator ANR when I press home or back当我按下 home 或 back 时,AOSP 模拟器 ANR
【发布时间】:2016-04-22 16:49:53
【问题描述】:

当我在几乎每个应用程序中按主页或返回时,它会导致 ANR,然后模拟器永远停止。我真的不知道为什么..

我通过

启动了模拟器
emulator -partition-size 4000 -memory 4096 -no-audio -accel on -http-proxy 127.0.0.1:1080

模拟器、arm、x86 和 x86_64 的每个架构都有这个问题。

我在 Ubuntu 14.04 上构建源代码。

logcat 包含["Signal Catcher"]: reacting to signal 3 和许多其他内容。 (traces.txt有这么多的文字。我觉得这里不适合复制整个内容。。)

有什么问题?好纠结啊。。

提前致谢。

【问题讨论】:

  • 您运行模拟器的机器是否有 4GB 的 RAM?您指定模拟器应使用 4GB。
  • 感谢您的评论。是的,它有。我设置了 4GB,否则模拟器经常会停止 :)

标签: android android-emulator android-source


【解决方案1】:

嗯..我将源版本从最新更改为android-6.0.1_r20,问题消失了。但我仍然不知道原因。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-01-23
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多