Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1424] Titanium studio won't show Android 6.0M application log

GitHub Issuen/a
TypeBug
Priorityn/a
StatusResolved
ResolutionDuplicate
Resolution Date2015-11-11T04:59:56.000+0000
Affected Version/sAppcelerator Studio 4.3.2
Fix Version/sn/a
ComponentsStudio
Labelsn/a
ReporterDavid Vermeir
AssigneeRadamantis Torres-Lechuga
Created2015-10-13T08:50:13.000+0000
Updated2016-03-08T07:37:51.000+0000

Description

Since upgrading to Android 6.0M on my Nexus 5, there's no more application logging. Ti.API logging methods work fine when you look at the device log through Android Device Monitor but the Appcelerator Studio console stays empty. There are logging messages in the console up until the apk is build however, so the compilation log works fine. The last thing posted to the console is usually this:
[INFO] :   Project built successfully in 1m 10s 718ms
-- Start application log -----------------------------------------------------
I have all updates and am using the latest version of Studio as installed with the Studio updater (4.3.2)

Attachments

FileDateSize
Screen Shot 2015-10-14 at 10.35.08.png2015-10-14T10:42:16.000+0000158319

Comments

  1. Justin Howard 2015-10-14

    I found that by looking in Android Device Monitor that it was failing in my case on linking the CloudPush module. !Screen Shot 2015-10-14 at 10.35.08.png|thumbnail!
  2. Ursin Cola 2015-10-15

    Same problem with cloudpush, app cannot run if cloudpush is enabled https://community.appcelerator.com/topic/3724/android-6-and-ti-cloudpush-not-working/4
  3. Abdiel Aviles 2015-10-15

    I just tested with the "Employee Directory" demo app and it is not logging either with Android 6.0.
  4. Joisiney Leandro Silva 2015-10-24

    Criei um aplicativo em branco; Adicionei o modulo de "ti.cloudpush "; Compilei para android marshmallow; O aplicativo encerra imediatamente ao abrir (celular nexus 5); Não apresenta erro ou falha. Apenas aparece "-- Start application log -".
  5. Ursin Cola 2015-10-25

    Here is the android ddms log for the issue from joisiney. I dont know if you have another issue on jira for this problem, because this here is an issue for application log. 10-20 09:00:36.055: D/PhoneInterfaceManager(1868): [PhoneIntfMgr] getDataEnabled: subId=2 phoneId=0 10-20 09:00:36.055: D/PhoneInterfaceManager(1868): [PhoneIntfMgr] getDataEnabled: subId=2 retVal=true 10-20 09:00:36.057: D/TelephonyManager(20898): getDataEnabled: retVal=true 10-20 09:00:36.439: I/ActivityManager(801): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=ch.hcd.mobile/.APPActivity (has extras)} from uid 10022 on display 0 10-20 09:00:36.481: I/ActivityManager(801): Start proc 8280:ch.hcd.mobile/u0a242 for activity ch.hcd.mobile/.APPActivity 10-20 09:00:36.569: I/ActivityManager(801): Killing 6924:com.facebook.katana:dash/u0a107 (adj 15): empty #17 10-20 09:00:36.573: E/Surface(6264): getSlotFromBufferLocked: unknown buffer: 0x9670f430 10-20 09:00:36.597: D/WifiService(801): Client connection lost with reason: 4 10-20 09:00:36.640: I/TiApplication(8280): (main) [3,3] checkpoint, app created. 10-20 09:00:36.775: I/TiApplication(8280): (main) [140,143] Titanium 5.0.2 (2015/09/30 12:07 92c2265) 10-20 09:00:36.856: E/linker(8280): readlink('/proc/self/fd/17') failed: Permission denied [fd=17] 10-20 09:00:36.856: E/linker(8280): warning: unable to get realpath for the library "/data/app/ch.hcd.mobile-1/lib/arm/libstlport_shared.so". Will use given name. 10-20 09:00:36.867: E/linker(8280): readlink('/proc/self/fd/17') failed: Permission denied [fd=17] 10-20 09:00:36.867: E/linker(8280): warning: unable to get realpath for the library "/data/app/ch.hcd.mobile-1/lib/arm/libkroll-v8.so". Will use given name. 10-20 09:00:36.883: I/TiApplication(8280): (main) [108,251] Titanium Javascript runtime: v8 10-20 09:00:36.909: D/XWalkLib(8280): Init embedded mode 10-20 09:00:36.914: D/XWalkLib(8280): lib version, api:5, min api:5 10-20 09:00:36.914: D/XWalkLib(8280): app version, api:5, min api:5 10-20 09:00:37.039: I/LibraryLoader(8280): Time to load native libraries: 77 ms (timestamps 5425-5502) 10-20 09:00:37.039: I/LibraryLoader(8280): Expected native library version number "",actual native library version number "" 10-20 09:00:37.039: D/XWalkLib(8280): Running in embedded mode 10-20 09:00:37.039: D/XWalkLib(8280): Init core bridge 10-20 09:00:37.061: W/V8Object(8280): (KrollRuntimeThread) [178,429] Runtime disposed, cannot set property 'userAgent' 10-20 09:00:37.063: I/TiRootActivity(8280): (main) [0,0] checkpoint, on root activity create, savedInstanceState: null 10-20 09:00:37.078: W/TiTempFileHelper(8280): (main) [15,15] The external temp directory doesn't exist, skipping cleanup 10-20 09:00:37.094: E/linker(8280): readlink('/proc/self/fd/17') failed: Permission denied [fd=17] 10-20 09:00:37.094: E/linker(8280): warning: unable to get realpath for the library "/data/app/ch.hcd.mobile-1/lib/arm/libcom.universalavenue.ticrosswalk.so ". Will use given name. 10-20 09:00:37.097: E/linker(8280): readlink('/proc/self/fd/17') failed: Permission denied [fd=17] 10-20 09:00:37.097: E/linker(8280): warning: unable to get realpath for the library "/data/app/ch.hcd.mobile-1/lib/arm/libti.cloudpush.so ". Will use given name. 10-20 09:00:37.101: E/TiApplication(8280): (KrollRuntimeThread) [22,37] Sending event: exception on thread: KrollRuntimeThread msg:java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/ch.hcd.mobile-1/lib/arm/libti.cloudpush.so : has text relocations; Titanium 5.0.2,2015/09/30 12:07,92c2265 10-20 09:00:37.101: E/TiApplication(8280): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/ch.hcd.mobile-1/lib/arm/libti.cloudpush.so : has text relocations 10-20 09:00:37.101: E/TiApplication(8280): at java.lang.Runtime.loadLibrary(Runtime.java:372) 10-20 09:00:37.101: E/TiApplication(8280): at java.lang.System.loadLibrary(System.java:1076) 10-20 09:00:37.101: E/TiApplication(8280): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) 10-20 09:00:37.101: E/TiApplication(8280): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) 10-20 09:00:37.101: E/TiApplication(8280): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185) 10-20 09:00:37.101: E/TiApplication(8280): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) 10-20 09:00:37.151: E/AndroidRuntime(8280): FATAL EXCEPTION: KrollRuntimeThread 10-20 09:00:37.151: E/AndroidRuntime(8280): Process: ch.hcd.mobile, PID: 8280 10-20 09:00:37.151: E/AndroidRuntime(8280): java.lang.UnsatisfiedLinkError: dlopen failed: /data/app/ch.hcd.mobile-1/lib/arm/libti.cloudpush.so : has text relocations 10-20 09:00:37.151: E/AndroidRuntime(8280): at java.lang.Runtime.loadLibrary(Runtime.java:372) 10-20 09:00:37.151: E/AndroidRuntime(8280): at java.lang.System.loadLibrary(System.java:1076) 10-20 09:00:37.151: E/AndroidRuntime(8280): at org.appcelerator.kroll.runtime.v8.V8Runtime.loadExternalModules(V8Runtime.java:132) 10-20 09:00:37.151: E/AndroidRuntime(8280): at org.appcelerator.kroll.runtime.v8.V8Runtime.initRuntime(V8Runtime.java:99) 10-20 09:00:37.151: E/AndroidRuntime(8280): at org.appcelerator.kroll.KrollRuntime.doInit(KrollRuntime.java:185) 10-20 09:00:37.151: E/AndroidRuntime(8280): at org.appcelerator.kroll.KrollRuntime$KrollRuntimeThread.run(KrollRuntime.java:109) 10-20 09:00:37.152: W/ActivityManager(801): Force finishing activity ch.hcd.mobile/.APPActivity 10-20 09:00:37.168: D/PhoneInterfaceManager(1868): [PhoneIntfMgr] getDataEnabled: subId=2 phoneId=0 10-20 09:00:37.168: D/PhoneInterfaceManager(1868): [PhoneIntfMgr] getDataEnabled: subId=2 retVal=true 10-20 09:00:37.169: D/TelephonyManager(20898): getDataEnabled: retVal=true 10-20 09:00:37.455: I/WindowManager(801): Screenshot max retries 4 of Token{2f1242b ActivityRecord{ee1647a u0 ch.hcd.mobile/.APPActivity t15327 f}} appWin=Window{ad3eda3 u0 Starting ch.hcd.mobile} drawState=4 10-20 09:00:37.488: I/OpenGLRenderer(801): Initialized EGL, version 1.4
  6. Ashraf Abu 2015-11-11

JSON Source