| Summary: | Android findLibrary() returns NULL | ||
|---|---|---|---|
| Product: | SDL | Reporter: | Sylvain <sylvain.becker> |
| Component: | *don't know* | Assignee: | Gabriel Jacobo <gabomdq> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | gabomdq, philipp.wiesemann |
| Version: | 2.0.3 | ||
| Hardware: | All | ||
| OS: | Android (All) | ||
| Attachments: |
patch messagebox
extra patch |
||
|
Description
Sylvain
2014-10-20 06:48:53 UTC
Do you have a patch for this? Created attachment 1910 [details]
patch messagebox
Yes!
Here's a patch to show a MessageBox when an exception occurs while loading a shared library.
Please double-check it!
Oops, two minors typos : Cancelable would be better as "false". Otherwise, the message box can be cancel with back button. dlgAlert.setCancelable(false); Error message: "while try" => "while trying" Thanks! Created attachment 1913 [details]
extra patch
extra patch with minor modifications:
- typo
- cancel-able set to false
- add the error message, so that the user can report it.
Please. have a look at the extra patch. (reopen) (In reply to Sylvain from comment #4) > Oops, two minors typos : > > Cancelable would be better as "false". Otherwise, the message box can be > cancel with back button. > > dlgAlert.setCancelable(false); > > Error message: > > "while try" => "while trying" > > Thanks! Fixed here: https://hg.libsdl.org/SDL/rev/d1bf8c7a532e https://hg.libsdl.org/SDL/rev/8f97a0f537e4 Thanks! Please add also the "exception message" in the error messagebox (see patch). This messagebox is only meant for rare case. If the issue still happens after reinstallation, it can help people to fix themselves their device and/or to report the error message. Fixed, thanks! https://hg.libsdl.org/SDL/rev/741700a12835 |