Fail case / test case
You need a Windows machine which is configured to build the SDK.
* Install latest NDK (r8b)
http://developer.android.com/tools/sdk/ndk/index.html
* Be sure to set your ANDROID_NDK environment variable to point to it (_before_ opening the command window in which you'll run
scons
).
* Open a command window.
* Test to be sure that the right NDK will be used: run
echo %ANDROID_NDK%
and make sure the result is the path to r8b.
* Go to the titanium mobile source folder and try to build the sdk with
scons
.
* Soon after the build starts it should stop with an error like this:
[exec] process_begin: CreateProcess(NULL, rm -f src/native/../../generated/
*, ...) failed.
[exec] make (e=2): The system cannot find the filerm -f src/native/../../ge
nerated/*
[exec] specified.
[exec] make: *** [ti-clean] Error 2
BUILD FAILED
c:\Users\bill\src\titanium_mobile\android\build\common.xml:700: exec returned: 2
PR: https://github.com/appcelerator/titanium_mobile/pull/2934
Closing ticket due to time passed.