Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10879] Tooling: Android SDK build (scons etc) fails on Windows when using NDK 8b

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-09-17T13:49:30.000+0000
Affected Version/sRelease 2.1.2
Fix Version/sRelease 3.0.0, Sprint 2012-19 Core, 2012 Sprint 19
ComponentsTooling
Labelscore
ReporterBill Dawson
AssigneeBill Dawson
Created2012-09-12T12:03:03.000+0000
Updated2017-03-07T19:00:47.000+0000

Description

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

Comments

  1. Allen Yeung 2012-09-17

    PR: https://github.com/appcelerator/titanium_mobile/pull/2934
  2. Lee Morris 2017-03-07

    Closing ticket due to time passed.

JSON Source