You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
java.lang.UnsatisfiedLinkError: No implementation found for void crc64953c68cad4e91ae3.GlmApp.n_OnAppForegrounded() - is the library loaded, e.g. System.loadLibrary? #9209
Please provide a repro project. I don't know what method OnAppForegrounded() is.
Also odd is the stack trace of the runtime crash:
at crc64953c68cad4e91ae3.GlmApp.OnAppForegrounded(GlmApp.java:43)
at java.lang.reflect.Method.invoke(Method.java:-2)
at androidx.lifecycle.ClassesInfoCache$MethodReference.invokeCallback(ClassesInfoCache.java:222)
Why is GLmApp.OnAppForegrounded(), with a Capital O, being invoked from Java? Typically, I would expect Java to be calling an onAppForegrounded() method (lowercase 'o').
My "spider-sense" is that this may be related to marshal methods. Please also try setting $(AndroidEnableMarshalMethods)=False and see if that changes anything.
I've now hit another crash when I try to open either of my dashboard fragments. The only difference from all the other fragments is that they are immersive fragments.
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x234 in tid 26164 (ware.obdnowpros), pid 26164 (ware.obdnowpros)
That crash never makes its way to App Center, so I've got no idea why it crashes there. I got the above from Android Studio's logcat.
Rather than play around with the code in this project, swapping from net8 to net9 and back again. I think I'll create a new net9.0-android35 test app with similar code. Deprecating SetStatusBarColor() in Android 15 seems like a very poor decision. They obviously want every app to look like their boring apps.
Activity
jonpryor commentedon Aug 27, 2024
Please provide a repro project. I don't know what method
OnAppForegrounded()is.Also odd is the stack trace of the runtime crash:
Why is
GLmApp.OnAppForegrounded(), with a Capital O, being invoked from Java? Typically, I would expect Java to be calling anonAppForegrounded()method (lowercase 'o').My "spider-sense" is that this may be related to marshal methods. Please also try setting
$(AndroidEnableMarshalMethods)=False and see if that changes anything.gmck commentedon Aug 29, 2024
@jonpryor
Your "spider-sense" is working well. Adding
<AndroidEnableMarshalMethods>false</AndroidEnableMarshalMethods>fixed it.It was when it crashed at start-up.
I've now hit another crash when I try to open either of my dashboard fragments. The only difference from all the other fragments is that they are immersive fragments.
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x234 in tid 26164 (ware.obdnowpros), pid 26164 (ware.obdnowpros)That crash never makes its way to App Center, so I've got no idea why it crashes there. I got the above from Android Studio's logcat.
Rather than play around with the code in this project, swapping from net8 to net9 and back again. I think I'll create a new net9.0-android35 test app with similar code. Deprecating SetStatusBarColor() in Android 15 seems like a very poor decision. They obviously want every app to look like their boring apps.
jonpryor commentedon Sep 26, 2024
Mentioning this issue on #8253.