{ "id": "152370", "key": "AC-1319", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2015-12-08T09:13:24.000+0000", "created": "2015-10-27T08:01:11.000+0000", "labels": [ "UnsatisfiedLinkError", "android-6", "permissions" ], "versions": [], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:37:43.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "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.\r\n\r\nHere's a piece of the log:\r\nlinker : readlink('/proc/self/fd/17') failed: Permission denied [fd=17]\r\n10-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.\r\n10-20 10:47:48.461 17057 17093 E linker : readlink('/proc/self/fd/17') failed: Permission denied [fd=17]\r\n10-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.\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: FATAL EXCEPTION: KrollRuntimeThread\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: Process: com.imoogi.gevacampus, PID: 17057\r\n10-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\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat java.lang.Runtime.loadLibrary(Runtime.java:372)\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat java.lang.System.loadLibrary(System.java:1076)\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132)\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99)\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185)\r\n10-20 10:47:48.470 17057 17093 E AndroidRuntime: \tat org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109)\r\n10-20 10:47:48.471 782 1749 W ActivityManager: Force finishing activity com.imoogi.gevacampus/.YoelGevaCampusActivity\r\n\r\n(The full log sent to us is attached)", "attachment": [ { "id": "57149", "filename": "logcat 20-10-15.txt", "author": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "created": "2015-10-27T07:59:51.000+0000", "size": 20806, "mimeType": "text/plain" } ], "flagged": false, "summary": "App with permission crashes on Android 6 running devices", "creator": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "subtasks": [], "reporter": { "name": "itayavtalyon", "key": "itayavtalyon", "displayName": "Itay Avtalyon", "active": true, "timeZone": "Asia/Jerusalem" }, "environment": "Built on a Macintosh running the latest studio version, compiled against the nightly build on the master branch (5.2.0). Android target 23, Android SDK: Google APIs (Android 6)[armeabi-v7a]", "comment": { "comments": [ { "id": "371902", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi,\r\nAndroid ask for permission from the user in Android 6.0.\r\nPlease add *permission requesting* for android 6 . \r\n{code}\r\nif (Ti.Media.hasCameraPermissions()) {\r\n\twindow.open();\r\n} else { \r\n Ti.Media.requestCameraPermissions(function(e) {\r\n if (e.success === true) {\r\n \t window.open();\r\n } else {\r\n alert(\"Access denied, error: \" + e.error);\r\n }\r\n });\r\n}\r\n{code}\r\nCurrently, if you request Camera Permissions, it will include Storage Permissions as well. This will allow it to get that permission it needs\r\n\r\nThanks", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-12-02T08:45:05.000+0000", "updated": "2015-12-02T08:45:05.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }