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
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.