Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.UnsatisfiedLinkError: No implementation found for void org.libsdl.app.SDLActivity.nativeQuit() (tried Java_org_libsdl_app_SDLActivity_nativeQuit and Java_org_libsdl_app_SDLActivity_nativeQuit__) #1365

Closed
mkg20001 opened this issue Sep 7, 2018 · 6 comments

Comments

@mkg20001
Copy link
Contributor

mkg20001 commented Sep 7, 2018

Google play pre-launch testing reports that the app crashes on some devices, while it doesn't on others and I'm clueless as to why that happens.

screenshot
logcat-galaxy-j1-ace.txt
logcat-galaxy-j6.txt
logcat-lg-g6.txt
logcat-mate-9.txt
logcat-moto-g4-play.txt
logcat-p8-lite.txt
logcat-pixel.txt

APKs: https://github.com/HelloZeroNet/ZeroNet-kivy/releases/tag/v0.6.3.2

@Petar-Luketina
Copy link

Hey @mkg20001. Same issue. Have you resolved it by any chance? I'm using Python 2, and API 27.

@mkg20001
Copy link
Contributor Author

mkg20001 commented Oct 3, 2018

No, still no luck

@clevermindgames
Copy link

clevermindgames commented Nov 9, 2018

I am getting crashes with this error in about 0.2% of daily sessions. I believe it might be happening when kivy app is in background and Android tries to kill it to free up the memory. It does not happen every time though and I could never reproduce it on my devices. The list of devices affected in Play store console is quite large, but it seems to be mostly related to Samsung Galaxy models and Huawei.

The stacktrace from Crashlytics is very similar if not the same (probably due to different version used):

Fatal Exception: java.lang.UnsatisfiedLinkError: No implementation found for void org.libsdl.app.SDLActivity.nativeQuit() (tried Java_org_libsdl_app_SDLActivity_nativeQuit and Java_org_libsdl_app_SDLActivity_nativeQuit__)
       at org.libsdl.app.SDLActivity.nativeQuit(SDLActivity.java)
       at org.libsdl.app.SDLActivity.onDestroy(SDLActivity.java:250)
       at org.kivy.android.PythonActivity.onDestroy(PythonActivity.java:296)
       at android.app.Activity.performDestroy(Activity.java:7186)
       at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1270)
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:4539)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:4570)
       at android.app.ActivityThread.-wrap5(Unknown Source)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1695)
       at android.os.Handler.dispatchMessage(Handler.java:105)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6673)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:769)

I do not have adb logs as I could not reproduce it myself.

@ghost
Copy link

ghost commented Jan 31, 2019

@inclement could this possibly be the same as the libpython3.6m.so.0.1 bug? (with the app failing to load the .so, I think that should give a similar error) If yes then this might be fixed now

@clevermindgames @mkg20001 could you possibly retest with latest master? (please note latest master currently requires a minimum api level of at least 21, and a target api level of at least 26)

@inclement
Copy link
Member

@Jonast Yes, I think it's likely that it was the same bug. Thanks, I missed this issue.

I'll close it for that reason, but it can be reopened if the bug does still occur.

@LionReal
Copy link

@inclement
Hi, I'm getting the same error, how can I solve this problem? please your help.
Thank you.
Lionreal

Exception java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String org.libsdl.app.SDLActivity.nativeGetHint(java.lang.String) (tried Java_org_libsdl_app_SDLActivity_nativeGetHint and Java_org_libsdl_app_SDLActivity_nativeGetHint__Ljava_lang_String_2)
at org.libsdl.app.SDLActivity.nativeGetHint
at org.libsdl.app.SDLActivity.onBackPressed (SDLActivity.java:437)
at android.app.Activity.onKeyUp (Activity.java:2975)
at android.view.KeyEvent.dispatch (KeyEvent.java:2733)
at android.app.Activity.dispatchKeyEvent (Activity.java:3267)
at org.libsdl.app.SDLActivity.dispatchKeyEvent (SDLActivity.java:484)
at com.android.internal.policy.DecorView.dispatchKeyEvent (DecorView.java:363)
at android.view.ViewRootImpl$ViewPostImeInputStage.processKeyEvent (ViewRootImpl.java:4744)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:4616)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4158)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4211)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4177)
at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4304)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4185)
at android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:4361)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4158)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4211)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4177)
at android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:4185)
at android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:4158)
at android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:4211)
at android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:4177)
at android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:4337)
at android.view.ViewRootImpl$ImeInputStage.onFinishedInputEvent (ViewRootImpl.java:4498)
at android.view.inputmethod.InputMethodManager$PendingEvent.run (InputMethodManager.java:2435)
at android.view.inputmethod.InputMethodManager.invokeFinishedInputEventCallback (InputMethodManager.java:1998)
at android.view.inputmethod.InputMethodManager.finishedInputEvent (InputMethodManager.java:1989)
at android.view.inputmethod.InputMethodManager$ImeInputEventSender.onInputEventFinished (InputMethodManager.java:2412)
at android.view.InputEventSender.dispatchInputEventFinished (InputEventSender.java:141)
at android.os.MessageQueue.nativePollOnce
at android.os.MessageQueue.next (MessageQueue.java:325)
at android.os.Looper.loop (Looper.java:142)
at android.app.ActivityThread.main (ActivityThread.java:6797)
at java.lang.reflect.Method.invoke
at com.android.internal.os.Zygote$MethodAndArgsCaller.run (Zygote.java:240)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:772)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants