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

Android: Architectures - armeabi armeabi-v7a cause build error at compiling module

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Release 6.0.0
    • Component/s: Tooling
    • Labels:
    • Story Points:
      2
    • Sprint:
      2016 Sprint 21 Tooling

      Description

      Issue description

      Customer is trying to build an Titanium Android module. The default manifest file contains "architectures: armeabi armeabi-v7a x86". When customer removes the x86 from this list he get the following error:

      check.build.arch:
           [echo] Architectures in manifest: armeabi armeabi-v7a
           [echo] Compiled binary architectures: armeabi;armeabi-v7a;x86
       
      BUILD FAILED
      /Users/collinprice/Library/Application Support/Titanium/mobilesdk/osx/5.3.0.GA/module/android/build.xml:376: The following error occurred while executing this line:
      /Users/collinprice/Library/Application 
      Support/Titanium/mobilesdk/osx/5.3.0.GA/module/android/build.xml:378: There is discrepancy between the architectures specified in manifest and compiled binary.
      

      Android module contains a shared object (.so) file that does not support the ABI x86 (why?).

      Steps to reproduce
      1. Create appc module running appc new command
      2. Change the architecture list in the manifest file:
        Default:
        architectures: armeabi armeabi-v7a x86
        What customer want:
        architectures: armeabi armeabi-v7a
      3. Looks like the issue is with the compilation of the module. When you run "ant" to compile the module I am getting the BUILD FAILED error.

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              rramirez Ricardo Ramirez
              Reviewer:
              Feon Sua Xin Miao
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code