Closed guillemc23 closed 1 year ago
Is your device using the official MIUI rom? The stack trace seems to indicate a custom firmware. If the app works, then it's probably fine? The error isn't thrown my NativeScript.
Hello @rigor789!
Yes, I'm using the official MIUI rom, I haven't installed anything custom or become root in this device. The app works, it's just annoying, but I'm not sure if it can cause other kinds of issues. I reported just in case it has something to do with this other issue: https://github.com/NativeScript/plugins/issues/475
I'd say the two are unrelated. This issue you can check with a new app as well:
ns create testapp --ts
and then run it on the same device. If it still shows up, then it's certainly fine to ignore.
My guess is that MIUI's custom code checks for some json flags and if it fails, they print/log the stack trace - which shows up because it contains the {N} activity - but the error itself is in MiuiMultiWindowUtils
... But since it's most likely just a ex.printStackTrace()
call - I'm 99% sure it's fine to just ignore.
I also have a Xiaomi phone, but have never seen anything like that - I guess it's something in the newer MIUI versions (I'm on 12.5.1).
Now that you mention it, I recall it started appearing once I updated to MIUI 13 🤔
Thanks for your explanation, I'm a bit lost in this part of the process 😵💫 We'll asume it's safe to ignore!
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Plugin(s):
Describe the bug
Building a project using my real device (Xiaomi Redmi 9) produces this output in the console. Everything works as expected but still, this error is logged in the console as soon as the app boots.
To Reproduce Building any project using my device produces this issue
Expected behavior
Sample project Any project