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

Android: Duplicate resources with .aar and Hyperloop enabled

    Details

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

      TiSDK 6.1.0.v20170524131825

    • Story Points:
      2

      Description

      Steps to reproduce the behavior

      1. Run the hyperloop-examples project with the 6.1.0 RC release

      Actual behavior
      The build fails with the following error while executing the aapt command:

      [ERROR] Failed to package application:
      [ERROR]   
      [ERROR] /Users/jvennemann/Development/appc/hyperloop-examples/build/android/res/values/values.xml:117: error: Attribute "layout_scrollFlags" already defined with incompatible format.
      [ERROR] /Users/jvennemann/Development/appc/hyperloop-examples/build/hyperloop/android/design-23.1.1/res/values/values.xml:15: Original attribute defined here.
      ...
      

      Expected behavior
      The build is successful and the app runs without crashing.

      Additional notes
      Hyperloop still has its own AAR handling which leads to those duplicate resources. This can be solved in a similar manner as the dexer issue in TIMOB-24446 by hooking into build.android.aapt and removing the changes Hyperloop made.

        Attachments

          Activity

            People

            • Assignee:
              jvennemann Jan Vennemann
              Reporter:
              jvennemann Jan Vennemann
              Reviewer:
              Christopher Williams
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Integration