Affects Version/s: Release 2.1.2, Release 2.1.3, Release 2.1.4
Max OS X 10.7.4
Android NDK r8
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:
Clone the repo, modify build.properties and create a 'lib' directory.
[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.
/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