You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Busybee in /test in Android modules fails with:
Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
at android.os.Looper.getMainLooper(Looper.java)
at io.americanexpress.busybee.android.internal.AndroidMainThreadExecutor.<init>(AndroidMainThreadExecutor.java:27)
at io.americanexpress.busybee.android.internal.AndroidMainThreadExecutor.<clinit>(AndroidMainThreadExecutor.java:25)
The text was updated successfully, but these errors were encountered:
* We need to test the scenario of Busybee being used in `/test` in an Android module.
Instead of only checking for presence of `android.app.Application`, we try to load up the main looper and make sure it can execute a `Runnable`.
Previously, this failed with:
```
Caused by: java.lang.RuntimeException: Method getMainLooper in android.os.Looper not mocked. See http://g.co/androidstudio/not-mocked for details.
at android.os.Looper.getMainLooper(Looper.java)
at io.americanexpress.busybee.android.internal.AndroidMainThreadExecutor.<init>(AndroidMainThreadExecutor.java:27)
at io.americanexpress.busybee.android.internal.AndroidMainThreadExecutor.<clinit>(AndroidMainThreadExecutor.java:25)
```
* Desugar in AGP 3.5.0 had an issue with our Java 8 code here, so need to upgrade to AGP 4.0.
* AGP 4.0 needs build-tools-29.0.2 and gradle 6
Currently Busybee in
/test
in Android modules fails with:The text was updated successfully, but these errors were encountered: