Android Question Anyone else had "Native crashes" without usable logcat outputs?

fredo

Well-Known Member
Licensed User
Longtime User
I put this here so it might be helpful for someone else.

While testing an app via the Firebase "Test Lab"


there where this strange errormessage


only on certain devices: "Native crash of ..." regadless of the API.

Due to hints from here and from SO I started commenting out suspicious lines of code and finally came to this:

Since B4A itself is a very clean constructed environment the problem could only lie in one of the comfortable side entrances.

B4A's Quick search of "jo.RunMethod("


finally lead to this line, which was commented out:

B4X:
jo.RunMethod("setStateListAnimator", ...
Subsequent test labs with several combinations of devices, manufacturers and API could not cause the error again.​

So, what remains for me is the realization that odd effects might be to be found first in the code areas that are not under the direct control of B4A.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…