Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-19821

Android 6.0: Device & emulator logs don't show up in studio console

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 5.1.0
    • Fix Version/s: Release 5.2.0, Release 5.1.2
    • Component/s: Android
    • Labels:
    • Environment:
    • Story Points:
      5
    • Theme:
    • Sprint:
      2015 Sprint 24 Tooling

      Description

      Checked with latest 5.0.3 & 5.0.2.GA & did not see any logs from android 6.0 in studio.

      Steps To Reproduce:

      1. Use the code below in your app.js:

      var win = Ti.UI.createWindow({ 
          title: "Test" 
      }); 
      var button = Titanium.UI.createButton({ 
         title: 'Hello', 
         top: 10 
      }); 
       
      button.addEventListener('click',function(e){ 
         Ti.API.info("This is info log"); 
         Ti.API.debug("This is debug log");
         Ti.API.error("This is error log");
         Ti.API.trace("This is trace log"); 
      }); 
       
      win.add(button); 
        
      win.open(); 
      

      2. Build for android 6.0 device/emulator.
      3. After the app launches tap on the button & the window & check if you see logs in the studio console.

      Actual Results:

      1. No logs are seen on studio console from android 6.0 device/emulator.
      Note: The logs appear fine on android logcat.

      Expected Results:

      1. We should see logs from android 6.0 device/emulator on studio console.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cwilliams Christopher Williams
                Reporter:
                lchoudhary Lokesh Choudhary
                Reviewer:
                cb1kenobi
              • Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-20573
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code