Claudemirovsky/aniyomi-extensions-tester

getMainLooper crash

jmir1 opened this issue · 2 comments

jmir1 commented

For some reason, the test fails with a "Stub!" error when trying to use Looper.getMainLoper().
maybe this needs to be addressed in the androidcompat library? im not sure

image

image

As you said, the problem was in the AndroidCompat lib, It was solved with a little workaround using kotlin coroutines.

Unfortunately the test still gives a crash/false negative due to another similar problem, this time with the WebView implementation, but I'm already working on it 👍

jmir1 commented

Nice 👍