简体   繁体   English

Appcelerator Android 6-我的应用程序无法在android 6设备上运行

[英]Appcelerator Android 6 - My app will not run on android 6 device

My application will not run on android 6 devices. 我的应用程序无法在android 6设备上运行。

I'm running 5.1.2 GA 我正在运行5.1.2 GA

Here's the stacktrace: 这是堆栈跟踪:

-- Start application log ----------------------------------------------------- 
[INFO] : TiApplication: (main) [0,0] checkpoint, app created. 
[INFO] : TiApplication: (main) [170,170] Titanium 5.1.2 (2015/12/16 19:00 ca822b2) 
[INFO] : DatabaseHelper: No value in database for platform key: 'unique_machine_id' returning supplied default '' 
[INFO] : DatabaseHelper: No value in database for platform key: 'hardware_machine_id' returning supplied default '' 
[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23] 
[ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.lilypadsolutions.lilypadappV2-1/lib/arm/libstlport_shared.so". Will use given name. 
[INFO] : TiApplication: (main) [292,462] Titanium Javascript runtime: v8 
[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23] 
[ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.lilypadsolutions.lilypadappV2-1/lib/arm/libkroll-v8.so". Will use given name. 
[INFO] : TiRootActivity: (main) [1,1] checkpoint, on root activity create, savedInstanceState: null 
[INFO] : TiApplication: (main) [3,4] Analytics have been disabled 
[WARN] : TiTempFileHelper: (main) [2,6] The external temp directory doesn't exist, skipping cleanup 
[WARN] : V8Object: (KrollRuntimeThread) [16,22] Runtime disposed, cannot set property 'userAgent' 
[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23] 
[ERROR] : linker: warning: unable to get realpath for the library "/data/app/com.lilypadsolutions.lilypadappV2-1/lib/arm/libti.styledlabel.so". Will use given name. 
[INFO] : Process: Sending signal. PID: 13026 SIG: 9

Any suggestions? 有什么建议么?

Please use latest build always. 请始终使用最新版本 you can reduce error. 您可以减少错误。

appc ti sdk install --branch master 6.0.0.v20160119083154

the above command is for latest build. 上面的命令适用于最新版本。

With Android 6.0 they have changed the permissions... 在Android 6.0中,他们更改了权限...

So, I suggest you have a look at the Titanium 5.1.0 Sample app . 因此,我建议您看看Titanium 5.1.0示例应用程序 Specifically, I suggest you have a look at the permissions.js file as one of the errors in the stack trace is: 具体来说,我建议您看一下Permissions.js文件,因为堆栈跟踪中的错误之一是:

[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23] 

HTH HTH

/John /约翰

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM