Details

      Description

      TC-1041 is not a duplicate of TC-994. I'm having the same problem. The build of an NDK project works with 2.0.2.GA (as shown in TC-994) but not with 2.1.2.GA. It's reproducible using the steps in TC-1041:

      https://github.com/fstephany/Titanium-JNI-demo
      Clone the repo, modify build.properties and create a 'lib' directory.
      ant

      Results in:

      ndk.build.local:
      [mkdir] Created dir: /Projects/Sofi/Lanica/GitHub/Titanium-JNI-demo/build/generated/jni-local
      [copy] Copying 2 files to /Projects/Sofi/Lanica/GitHub/Titanium-JNI-demo/build/generated/jni-local
      [mkdir] Created dir: /var/folders/3r/zx0k85mm8xj1sk001s7ptkz00000gr/T/eherrman/headphones-generated
      [copy] Copying 2 files to /var/folders/3r/zx0k85mm8xj1sk001s7ptkz00000gr/T/eherrman/headphones-generated
      [exec] Android NDK: There is no Android.mk under /var/folders/3r/zx0k85mm8xj1sk001s7ptkz00000gr/T//eherrman/headphones-generated/jni
      [exec] Android NDK: If this is intentional please define APP_BUILD_SCRIPT to point
      [exec] Android NDK: to a valid NDK build script.
      [exec] /Projects/android-ndk-r8b/build/core/add-application.mk:49: /var/folders/3r/zx0k85mm8xj1sk001s7ptkz00000gr/T//eherrman/headphones-generated/Application.mk: No such file or directory
      [exec] /Projects/android-ndk-r8b/build/core/add-application.mk:143: *** Android NDK: Aborting... . Stop.

      BUILD FAILED
      /Users/eherrman/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/module/android/build.xml:409: The following error occurred while executing this line:
      /Users/eherrman/Library/Application Support/Titanium/mobilesdk/osx/2.1.2.GA/module/android/build.xml:317: exec returned: 2

        Issue Links

          Activity

          Show
          Max Stepanov added a comment - PR https://github.com/appcelerator/titanium_mobile/pull/3472
          Hide
          Bill Dawson added a comment -

          Bill is reviewing the PR.

          Show
          Bill Dawson added a comment - Bill is reviewing the PR.
          Hide
          Bill Dawson added a comment -

          Master PR is merged. Ready for a 3.0.X PR.

          Show
          Bill Dawson added a comment - Master PR is merged. Ready for a 3.0.X PR.
          Hide
          Bill Dawson added a comment -

          Resolving per master merge, but also awaiting 3_0_X.

          Show
          Bill Dawson added a comment - Resolving per master merge, but also awaiting 3_0_X.

            People

            • Assignee:
              Max Stepanov
              Reporter:
              Eric Herrmann
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development