Android Studio emulator: ERROR: detected a hanging thread QEMU2 main loop

前端 未结 10 1449
忘了有多久
忘了有多久 2020-12-03 01:38

I use Android Studio 3.0.1 on Ubuntu 16.04.

Yesterday, Android Studio popped up a message saying that there\'s an update available, and I always click those. It the

10条回答
  •  暖寄归人
    2020-12-03 02:04

    I am running Android Studio 3.01 in Windows.

    I don't know if this has anything to do with it. I got the same error message:

    Android Studio emulator: ERROR: detected a hanging thread QEMU2 main loop

    I place a try around the statement. Here is the trace I got:

    Process: com.abc.abc, PID: 4620
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.abc.abc/com.abc.abc.CheckRegistration}: android.view.InflateException: Binary XML file line #0: Binary XML file line #0:

    You must supply a layout_width attribute.

    I replace my domain by abc on the message above.

    I change the layout width from “wrap_content” to specific width 123dp. This change solved my problem.

提交回复
热议问题