{ "id": "155941", "key": "AC-3405", "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": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-03-30T19:42:07.000+0000", "created": "2016-03-24T10:32:49.000+0000", "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "shossain", "key": "shossain", "displayName": "Shak Hossain", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-03-30T19:42:07.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14544", "name": "Alloy", "description": "Please enter tickets related to the Alloy here." }, { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "attachment": [ { "id": "58728", "filename": "PastedGraphic-1.png", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T22:06:22.000+0000", "size": 99161, "mimeType": "image/png" }, { "id": "58727", "filename": "PastedGraphic-2.png", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T22:06:22.000+0000", "size": 99330, "mimeType": "image/png" }, { "id": "58715", "filename": "Screen Shot 2016-03-25 at 12.58.57 AM.png", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-24T19:00:13.000+0000", "size": 48111, "mimeType": "image/png" } ], "flagged": false, "summary": "Android 6 - 5.2.0.GA Permission denied", "creator": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "Mac OS X\r\nSDK5.2.0.GA\r\nNode.js 0.12.7\r\nnpm 2.11.3\r\nTitanium CLI 3.4.2\r\nnode-appc 0.2.25\r\nAndroid 6", "comment": { "comments": [ { "id": "380640", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have tested the ti.permissions v0.5 module, in Android 6.0 Emulators, I didn't observe the issue you have mentioned. The app runs as expected. See the attachment,\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.11.3\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\n\r\nNode.js\r\n Node.js Version = 4.2.2\r\n npm Version = 2.14.7\r\n\r\nTitanium CLI\r\n CLI Version = 5.0.6\r\n\r\nTitanium SDK\r\n SDK Version = 5.2.0.GA\r\n Target Platform = android\r\n{code}\r\n\r\nI will try testing it in Device. Thanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-24T19:02:01.000+0000", "updated": "2016-03-24T19:02:01.000+0000" }, { "id": "380657", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Sharif AbuDarda, I've created a simple 'Hello world' project that don't use any module. It's a plain simple code using the following environment:\r\n\r\nSDK 5.2.0.GA\r\nNode 0.12.7\r\nnpm Version 2.11.3\r\nTi CLI 5.0.6\r\nAlloy 1.7.6\r\nAppc CLI: 5.2.0\r\nMAC OS X\r\nAndroid 6\r\n\r\nAnd the following Android files:\r\n\r\n!PastedGraphic-1.png|thumbnail!\r\n\r\n!PastedGraphic-2.png|thumbnail!\r\n\r\nThe same kind of error appears after compilling:\r\n\r\n[INFO] : App successfully installed\r\n[INFO] : Starting app: com.mypackage/.PermissionActivity\r\n[INFO] : Application pid: 13676\r\n[INFO] : Project built successfully in 1m 19s 486ms\r\n-- Start application log -----------------------------------------------------\r\n[INFO] : TiApplication: (main) [0,0] checkpoint, app created.\r\n[INFO] : TiApplication: (main) [61,61] Titanium 1.0.0 (2016/02/27 13:59 HEAD)\r\n[INFO] : TiApplication: (main) [132,193] Titanium Javascript runtime: v8\r\n[ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.mypackage-1/lib/arm/libstlport_shared.so\". Will use given name.\r\n[ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/data/app/com.mypackage-1/lib/arm/libkroll-v8.so\". Will use given name.\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null\r\n[WARN] : TiTempFileHelper: (main) [33,33] The external temp directory doesn't exist, skipping cleanup\r\n[WARN] : V8Object: (KrollRuntimeThread) [94,127] Runtime disposed, cannot set property 'userAgent'\r\n[INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.mypackage.PermissionActivity@8a13355\r\n[INFO] : I/Adreno-EGL: : EGL 1.4 QUALCOMM build: (I14a17c7611)\r\n[INFO] : I/Adreno-EGL: OpenGL ES Shader Compiler Version: XE031.06.00.02\r\n[INFO] : I/Adreno-EGL: Build Date: 12/04/15 Fri\r\n[INFO] : I/Adreno-EGL: Local Branch: workspace\r\n[INFO] : I/Adreno-EGL: Remote Branch:\r\n[INFO] : I/Adreno-EGL: Local Patches:\r\n[INFO] : I/Adreno-EGL: Reconstruct Branch:\r\n[ERROR] : linker: readlink('/proc/self/fd/30') failed: Permission denied [fd=30]\r\n[ERROR] : linker: warning: unable to get realpath for the library \"/vendor/lib/egl/eglsubAndroid.so\". Will use given name", "updateAuthor": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-24T22:10:37.000+0000", "updated": "2016-03-24T22:12:04.000+0000" }, { "id": "380699", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I have created a new project and run it on Android 6. The app seems to be running without any error in the console. Does your app run successfully? This looks to be some issue with the application iD. Please assign them as \"com.xx.appname\". Also, Your CLI is 3.4.2. Please update your CLI to latest version. \r\n\r\nRun \"npm install titanium -g\"\r\n\"npm install appcelerator -g\"\r\n\"appc setup\"\r\n\r\nThanks.", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-25T15:34:28.000+0000", "updated": "2016-03-25T15:34:28.000+0000" }, { "id": "380782", "author": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "body": "It worked, I've updated all my environment's softwares such as node.js and CLI. Also, the \"has text relocations\" error message was fixed after recompiling the ti.inappbilling to be used on Android 6.\r\n\r\nThe \"Permission denied\" error messages keep being shown on the console, but the app doesn't crash anymore. I think this causes some diversion, specially because you have the issue regarding some modules not compiled to run on Android 6 and the fact that you are testing both new Appcelerator SDK and Android API.\r\n\r\nThank you, it's solved.", "updateAuthor": { "name": "gmst", "key": "gmst", "displayName": "Gabriel S.", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-03-28T11:39:33.000+0000", "updated": "2016-03-28T11:40:14.000+0000" }, { "id": "381082", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Thanks for letting us know. Closing the ticket. \r\n\r\nRegards,\r\nSharif", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-03-30T19:41:49.000+0000", "updated": "2016-03-30T19:41:49.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }