-
-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Sextant sample navigation crashes with Android.Util.AndroidRuntimeException: 'Animators may only be run on Looper threads' #171
Comments
Hey @winterdouglas 👋, Thank you for opening an issue. We will get back to you as soon as we can. Also, check out our Open Collective and consider contributing financially. https://opencollective.com/reactiveui
|
I did a backtracking investigation already as follows: Versions of libraries
Investigation step by step
All the above steps were performed with clean and rebuilt project + the app being reinstalled (uninstall/redeploy)Apparently the issue started from the version 10.1.1 on, the only change from the version 10.0.1 to 10.1.1 is the update of |
Relates to: |
@winterdouglas Thanks for looking into this issue and the detailed report. |
I did another round of investigation here and so far I'd say the issue is really related to the command's
I can reproduce the issue with this code above. As you can see the command does nothing and the only thing that happens there is the command's |
Going a bit further with the investigation I could find that by doing the following on the view itself, the code actually breaks as well, so the real issue is not on the command's
I'm gonna create a sample with these cases and some unit tests as @RLittlesII suggested. |
Ok, I now created a completely clean project with only Looking further what could be the difference among them I could now find the real issue, it happens because on the Sextant sample the target/compile framework for the Android project is Android 8.1 while in the newly created one is Android 9, that makes the difference. |
Resolved By: #172 |
Describe the bug
Navigating on the Sextant Android sample makes the app crash with the exception
Android.Util.AndroidRuntimeException: 'Animators may only be run on Looper threads'
when running in aReactiveCommand
.Steps To Reproduce
Android.Util.AndroidRuntimeException: 'Animators may only be run on Looper threads'
Expected behavior
It shouldn't crash :)
Environment
The text was updated successfully, but these errors were encountered: