2016-01-19 36 views
1

我的應用程序無法在Android 6設備上運行。Appcelerator Android 6 - 我的應用程序無法在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

請提供有關應用程序本身的更多信息。您是否在使用任何模塊(例如,在錯誤消息中提到了styledlabel;嘗試在沒有運行的情況下運行)。也嘗試運行「ti clean」並重新構建它。它在沒有任何更改android 5/android 4設備上工作嗎? – miga

+0

是的,它可以在我的android 5設備上每次都有效。我更新了ti.imagefactor和ti.cloudpush ....還是相同的結果 –

+0

而我刪除了樣式標籤..因爲我沒有使用 –

回答

0

請始終使用latest build。你可以減少錯誤。

appc ti sdk install --branch master 6.0.0.v20160119083154 

上述命令是針對最新版本的。

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

/約翰

相關問題