Details

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

      appc-cli 6.2.0
      TiSDK 6.1.0.v20170517143931

    • Story Points:
      2
    • Sprint:
      2017 Sprint 10 SDK

      Description

      Steps to reproduce the behavior

      1. Extract the test module com.appc.timob24703-android-1.0.0.zip and add it to a new Titanium app.
      2. Replace the content of app/controllers/index.js with:

        var test = require('com.appc.timob24703');
        $.index.add(test.createExample());
        $.index.open();
        

      3. Build and run the app with appc run -p android -l trace

      Actual behvavior
      The app crashes upon start with the following error:

      [ERROR] TiApplication: (main) [169,170] Sending event: exception on thread: main msg:java.lang.NoClassDefFoundError: Failed resolution of: Lcom/appc/timob24703/R$layout;; Titanium 6.2.0,2017/05/17 16:12,undefined
      [ERROR] TiApplication: java.lang.NoClassDefFoundError: Failed resolution of: Lcom/appc/timob24703/R$layout;
      

      Expected behavior
      The app starts without crashing and shows a simple "Titanium" label.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                jvennemann Jan Vennemann
                Reviewer:
                Gary Mathews
                Tester:
                Ewan Harris
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration