[AC-3405] Android 6 - 5.2.0.GA Permission denied
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-03-30T19:42:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Alloy, Titanium SDK & CLI |
Labels | n/a |
Reporter | Gabriel S. |
Assignee | Shak Hossain |
Created | 2016-03-24T10:32:49.000+0000 |
Updated | 2016-03-30T19:42:07.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
PastedGraphic-1.png | 2016-03-24T22:06:22.000+0000 | 99161 |
PastedGraphic-2.png | 2016-03-24T22:06:22.000+0000 | 99330 |
Screen Shot 2016-03-25 at 12.58.57 AM.png | 2016-03-24T19:00:13.000+0000 | 48111 |
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,
I will try testing it in Device. Thanks.
@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: SDK 5.2.0.GA Node 0.12.7 npm Version 2.11.3 Ti CLI 5.0.6 Alloy 1.7.6 Appc CLI: 5.2.0 MAC OS X Android 6 And the following Android files: !PastedGraphic-1.png|thumbnail! !PastedGraphic-2.png|thumbnail! The same kind of error appears after compilling: [INFO] : App successfully installed [INFO] : Starting app: com.mypackage/.PermissionActivity [INFO] : Application pid: 13676 [INFO] : Project built successfully in 1m 19s 486ms -- Start application log ----------------------------------------------------- [INFO] : TiApplication: (main) [0,0] checkpoint, app created. [INFO] : TiApplication: (main) [61,61] Titanium 1.0.0 (2016/02/27 13:59 HEAD) [INFO] : TiApplication: (main) [132,193] Titanium Javascript runtime: v8 [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-1/lib/arm/libstlport_shared.so". Will use given name. [ERROR] : linker: readlink('/proc/self/fd/19') failed: Permission denied [fd=19] [ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.mypackage-1/lib/arm/libkroll-v8.so". Will use given name. [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity create, savedInstanceState: null [WARN] : TiTempFileHelper: (main) [33,33] The external temp directory doesn't exist, skipping cleanup [WARN] : V8Object: (KrollRuntimeThread) [94,127] Runtime disposed, cannot set property 'userAgent' [INFO] : TiRootActivity: (main) [0,0] checkpoint, on root activity resume. activity = com.mypackage.PermissionActivity@8a13355 [INFO] : I/Adreno-EGL:
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. Run "npm install titanium -g" "npm install appcelerator -g" "appc setup" Thanks.
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. The "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. Thank you, it's solved.
Thanks for letting us know. Closing the ticket. Regards, Sharif