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"

14-07-_2018_14-24-37.jpg

there where this strange errormessage

14-07-_2018_14-07-03.jpg

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("

14-07-_2018_14-03-41.jpg

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.
 
Top