java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by gsteigert
, 7 months ago
Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
via Stack Overflow by ECommerce
, 2 months ago
Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
via Stack Overflow by user2121
, 2 months ago
Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
via GitHub by iplanetcn
, 2 months ago
Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
at org.greenrobot.eventbus.EventBus.(EventBus.java:111)
at org.greenrobot.eventbus.EventBus.(EventBus.java:104)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.