Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3405] Android 6 - 5.2.0.GA Permission denied

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2016-03-30T19:42:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsn/a
ReporterGabriel S.
AssigneeShak Hossain
Created2016-03-24T10:32:49.000+0000
Updated2016-03-30T19:42:07.000+0000

Description

Attachments

FileDateSize
PastedGraphic-1.png2016-03-24T22:06:22.000+000099161
PastedGraphic-2.png2016-03-24T22:06:22.000+000099330
Screen Shot 2016-03-25 at 12.58.57 AM.png2016-03-24T19:00:13.000+000048111

Comments

  1. Sharif AbuDarda 2016-03-24

    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,
       Operating System
         Name                        = Mac OS X
         Version                     = 10.11.3
         Architecture                = 64bit
         # CPUs                      = 4
         Memory                      = 8589934592
       
       Node.js
         Node.js Version             = 4.2.2
         npm Version                 = 2.14.7
       
       Titanium CLI
         CLI Version                 = 5.0.6
       
       Titanium SDK
         SDK Version                 = 5.2.0.GA
         Target Platform             = android
       
    I will try testing it in Device. Thanks.
  2. Gabriel S. 2016-03-24

    @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: : EGL 1.4 QUALCOMM build: (I14a17c7611) [INFO] : I/Adreno-EGL: OpenGL ES Shader Compiler Version: XE031.06.00.02 [INFO] : I/Adreno-EGL: Build Date: 12/04/15 Fri [INFO] : I/Adreno-EGL: Local Branch: workspace [INFO] : I/Adreno-EGL: Remote Branch: [INFO] : I/Adreno-EGL: Local Patches: [INFO] : I/Adreno-EGL: Reconstruct Branch: [ERROR] : linker: readlink('/proc/self/fd/30') failed: Permission denied [fd=30] [ERROR] : linker: warning: unable to get realpath for the library "/vendor/lib/egl/eglsubAndroid.so". Will use given name
  3. Sharif AbuDarda 2016-03-25

    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.
  4. Gabriel S. 2016-03-28

    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.
  5. Sharif AbuDarda 2016-03-30

    Thanks for letting us know. Closing the ticket. Regards, Sharif

JSON Source