[TIMOB-6315] Android: SDK cannot be built (scons'd) on windows since V8-branch merge
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-02-14T23:29:01.000+0000 |
Affected Version/s | Release 1.8.0.1 |
Fix Version/s | Sprint 2012-03, Release 2.0.0, Release 1.8.2 |
Components | Android |
Labels | branch-v8, release-note-1.8.0 |
Reporter | Bill Dawson |
Assignee | Allen Yeung |
Created | 2011-11-28T11:50:08.000+0000 |
Updated | 2012-02-14T23:29:01.000+0000 |
Description
Cygwin is required
Cygwin is not required for this. Here are some things you will need to install: Install android ndk and set it as an environment variable ANDROID_NDK Install android sdk and set it as an environment variable ANDROID_SDK Install gperf (http://gnuwin32.sourceforge.net/packages/gperf.htm) and add it to your path Install Ant (http://ant.apache.org/) and add it to your path Install scons and add it to your path. Once your environment has been set up, run 'scons' in the titanium_mobile root, and an sdk should be generated under the dist directory.
Reopening issue Windows 7 and XP Scons reports it builds successfully, however I then am unable to open the zipped SDK. I grabbed this output at the end of scons:
NOTE: This should be run from windows command prompt, not cygwin.
Looks like this was resulting from JAVA_HOME being in a path with spaces in it. Michael- Could you verify that it works now?
Verified fixed with latest master on Win 7 and Win XP. Scons was successful and resulting build was able to build Studio projects and run in the emulator. Also verified scons on Mac with same steps (plus iOS) to ensure no harm has come to the other side of the fence.