Mehrzad238 Active Member Aug 14, 2026 #1 I just got this error: B4X: Copy at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java.7815) But after some time, even after I stopped running the compiler, I close B4A and open it; it's fine, and then when I run to test my app, it starts again and won't let me see what is going on. It just comes. I searched aparently it a universal bug, and I do not think it relate with B4A specifically, but it's bothering me and won't let me work. I need a fix asap. Attachments 1786702882668.png 31.2 KB · Views: 138 1786702895084.png 112.9 KB · Views: 138
I just got this error: B4X: Copy at android.view.ViewGroup.resetResolvedLayoutDirection(ViewGroup.java.7815) But after some time, even after I stopped running the compiler, I close B4A and open it; it's fine, and then when I run to test my app, it starts again and won't let me see what is going on. It just comes. I searched aparently it a universal bug, and I do not think it relate with B4A specifically, but it's bothering me and won't let me work. I need a fix asap.
Cableguy Expert Licensed User Longtime User Aug 14, 2026 #2 well, without a small example for us to test and figure out, we can't do nothing to help you out
Peter Simpson Expert Licensed User Longtime User Aug 14, 2026 #3 Well that's a classic Stack Overflow Error if I've ever seen on. Looks like you have a recursive layout loading issue, you should check for that. Bat as @Cableguy said, a small example would help. Or, you could export your code as a code bundle with the error message and screenshot directly into an AI, and see if the AI gives you the answer. That's what Erel created the code bundle for, to help developers with their issues. I've not used code bundle for that though, but it should work for you. It it does work and you fix the issue, don't forget to post what the fix was.
Well that's a classic Stack Overflow Error if I've ever seen on. Looks like you have a recursive layout loading issue, you should check for that. Bat as @Cableguy said, a small example would help. Or, you could export your code as a code bundle with the error message and screenshot directly into an AI, and see if the AI gives you the answer. That's what Erel created the code bundle for, to help developers with their issues. I've not used code bundle for that though, but it should work for you. It it does work and you fix the issue, don't forget to post what the fix was.
Mehrzad238 Active Member Aug 15, 2026 #4 ok update: my issue is not infinite, and it does end after 5 or 10 minutes. I didn't fully understand the problem, but it was for the panel that I used this code to change the background gradient color in the dark/light theme. B4X: Copy IIf(MyCode.IsDarkModeEnabled,Theme.Dark_Background,Theme.Color_White) So I just used a backup from yesterday and deleted this part, and the issue was solved!!
ok update: my issue is not infinite, and it does end after 5 or 10 minutes. I didn't fully understand the problem, but it was for the panel that I used this code to change the background gradient color in the dark/light theme. B4X: Copy IIf(MyCode.IsDarkModeEnabled,Theme.Dark_Background,Theme.Color_White) So I just used a backup from yesterday and deleted this part, and the issue was solved!!