我的应用程序无法在Android 6设备上运行。
我正在运行5.1.2 GA
这是堆栈跟踪:
-- 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
有什么建议吗?
答案 0 :(得分:0)
答案 1 :(得分:0)
使用Android 6.0,他们已经更改了权限......
所以,我建议你看看Titanium 5.1.0 Sample app。具体来说,我建议您查看permissions.js file,因为堆栈跟踪中的错误之一是:
[ERROR] : linker: readlink('/proc/self/fd/23') failed: Permission denied [fd=23]
HTH
/约翰