[AC-1319] App with permission crashes on Android 6 running devices
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2015-12-08T09:13:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | UnsatisfiedLinkError, android-6, permissions |
Reporter | Itay Avtalyon |
Assignee | Mostafizur Rahman |
Created | 2015-10-27T08:01:11.000+0000 |
Updated | 2016-03-08T07:37:43.000+0000 |
Description
Our app has permissions (Internet, camera, external storage). It has worked fine on previous version on Android. One of the beta testers upgraded his device (Nexus) to Android 6 (Marshmallow) and our app now crashes when opened. Removal and uninstalls didn't help.
Here's a piece of the log:
linker : readlink('/proc/self/fd/17') failed: Permission denied [fd=17]
10-20 10:47:48.452 17057 17093 E linker : warning: unable to get realpath for the library "/data/app/com.imoogi.gevacampus-1/lib/arm/libti.styledlabel.so". Will use given name.
10-20 10:47:48.461 17057 17093 E linker : readlink('/proc/self/fd/17') failed: Permission denied [fd=17]
10-20 10:47:48.461 17057 17093 E linker : warning: unable to get realpath for the library "/data/app/com.imoogi.gevacampus-1/lib/arm/libti.compression.so". Will use given name.
10-20 10:47:48.470 17057 17093 E AndroidRuntime: FATAL EXCEPTION: KrollRuntimeThread
10-20 10:47:48.470 17057 17093 E AndroidRuntime: Process: com.imoogi.gevacampus, PID: 17057
10-20 10:47:48.470 17057 17093 E AndroidRuntime: java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/com.imoogi.gevacampus-1/lib/arm/libti.compression.so: has text relocations
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at java.lang.Runtime.loadLibrary(Runtime.java:372)
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at java.lang.System.loadLibrary(System.java:1076)
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)
10-20 10:47:48.470 17057 17093 E AndroidRuntime: at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)
10-20 10:47:48.471 782 1749 W ActivityManager: Force finishing activity com.imoogi.gevacampus/.YoelGevaCampusActivity
(The full log sent to us is attached)
Attachments
Hi, Android ask for permission from the user in Android 6.0. Please add *permission requesting* for android 6 .
Currently, if you request Camera Permissions, it will include Storage Permissions as well. This will allow it to get that permission it needs Thanks