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
I noticed this because I ran into an issue with filenames. In higher android versions I usually get /storage/emulated/0 from Sys.environment().get("EXTERNAL_STORAGE"). But under Android 5.0.2 I get /storage/emulated/legacy, and that clashes with native Java getUriForFile and android.os.Environment.getExternalStorageDirectory() which remains /storage/emulated/0 and thus fails. Legacy does not seem to get resolved to 0, probably due to fileprovider being a hassle. In trying to work around it elegantly I ran into applicationdirectory and the instant crash above.
The text was updated successfully, but these errors were encountered:
I created the DisplayingABitmap openfl sample and added trace(lime.system.System.applicationDirectory);
This causes a crash when running on Android 5.0.2.
10-17 11:27:04.462 19355-19381/? A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 19381 (SDLThread)
10-17 11:27:04.522 268-268/? I/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
10-17 11:27:06.202 927-927/? D/CrashAnrDetector: Build: samsung/matisseltexx/matisselte:5.0.2/LRX22G/T535XXU1BQC1:user/release-keys
Hardware: MSM8226
Revision: 3
Bootloader: T535XXU1BQC1
Radio: unknown
Kernel: Linux version 3.4.0-10236903 (dpi@SWDD5005) (gcc version 4.8 (GCC) ) #1 SMP PREEMPT Wed Mar 8 19:11:59 KST 2017
I noticed this because I ran into an issue with filenames. In higher android versions I usually get /storage/emulated/0 from Sys.environment().get("EXTERNAL_STORAGE"). But under Android 5.0.2 I get /storage/emulated/legacy, and that clashes with native Java getUriForFile and android.os.Environment.getExternalStorageDirectory() which remains /storage/emulated/0 and thus fails. Legacy does not seem to get resolved to 0, probably due to fileprovider being a hassle. In trying to work around it elegantly I ran into applicationdirectory and the instant crash above.
The text was updated successfully, but these errors were encountered: