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

前端 未结 10 1440
忘了有多久
忘了有多久 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 01:54

    RELAX guys!

    Actually hanging state may occur

    • at starting of emulator
    • during the run

    and this may be after

    • updating packages

    • when you import or open a project into higher version of android studio like 2.4 -> 3.0.1 etc the main reason is that your previous app's state is saved with previous libraries and packages of android studio, So to solve this error is easy i.e

    a) Tools->AVD->Edit->advanced settings. choose quick boot instead of cold boot (as answered by Kamel)

    OR

    b) if you already chosen 'Quick boot' then choose 'Cold boot', and restart emulator, it will work fine.

提交回复
热议问题