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

Android. Tabgroup with 6.2.0 SDK gives error "ActionBar not available for TabGroup"

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Duplicate
    • Affects Version/s: Release 6.2.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Environment:

      Description

      Steps to reproduce:

      1. Use the code below in your app.js & build for android device emulator using SDK 6.2.0.v20170714101430.

      var win1 = Ti.UI.createWindow({
          backgroundColor: 'blue',
          title: 'Blue'
      });
      win1.add(Ti.UI.createLabel({text: 'I am a blue window.'}));
       
      var win2 = Ti.UI.createWindow({
          backgroundColor: 'red',
          title: 'Red'
      });
      win2.add(Ti.UI.createLabel({text: 'I am a red window.'}));
       
      var tab1 = Ti.UI.createTab({
          window: win1,
          title: 'Blue'
      }),
      tab2 = Ti.UI.createTab({
          window: win2,
          title: 'Red'
      }),
      tabGroup = Ti.UI.createTabGroup({
          tabs: [tab1, tab2]
      });
      tabGroup.open();
      

      Actual Results:

      1. No tabgroup opens after the splash screen.
      2. We see error:

      [ERROR] :  [Pixel] TabGroupProxy: (main) [91,91] ActionBar not available for TabGroup

      [ERROR] :  [Nexus 5] TabGroupProxy: (main) [113,113] ActionBar not available for TabGroup

      Expected Results:

      1. Tab group should open successfully.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lchoudhary Lokesh Choudhary
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Source Code