Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1377] Latest Android SDK update breaks compilation

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDuplicate
Resolution Date2014-07-18T22:40:52.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsandroid
ReporterMichael Labieniec
AssigneeMauro Parra-Miranda
Created2014-07-01T14:19:59.000+0000
Updated2016-03-08T07:37:47.000+0000

Description

If you update your Android SDK for the ‘L’ preview release, it will bring down an update that causes an error when compiling an Titanium project targeted at Android. On the command line tool it will look something like this: /usr/lib/node_modules/titanium/node_modules/longjohn/dist/longjohn.js:185 throw e; ^ TypeError: Bad argument at ChildProcess.spawn (child_process.js:923:24) In Titanium Studio, it will complain about a ‘zipalign’ module and say your SDK is outdated. It’s a quick fix, cd into your Android SDK directory root and run: cp build-tools/19.1.0/zipalign tools/ This will allow titanium app to compile now. After this fix, i had updated my Android SDK again, and once again, Titanium failed to compile and I had to run this command again.

Comments

  1. Shuo Liang 2014-07-02

  2. Mauro Parra-Miranda 2014-07-18

JSON Source