Titanium JIRA Archive
Appcelerator Community (AC)

[AC-1761] Titanium CLI : [ERROR] Invalid selected Titanium SDK "true"

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2013-12-27T00:29:16.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
Reporterroopesh nema
AssigneeRitu Agrawal
Created2013-12-08T11:14:53.000+0000
Updated2016-03-08T07:40:39.000+0000

Description

Attachments

FileDateSize
tiCLIError.png2013-12-08T11:14:53.000+000015155

Comments

  1. Ritu Agrawal 2013-12-22

    Latest CLI GA version is 3.2.0 so I would suggest you to use the GA version and let us know if the issue persists. Please paste the output of the following CLI command in this ticket if you can reproduce this issue with 3.2.0 GA release. titanium info
  2. Chris Barber 2013-12-27

    "-sdk" is not a valid option. What that is doing is setting the -s flag to true, -d flag to true, and -k flag to "C:\Program Files (x86)\Java\jdk1.7.0_25". The correct option is "--sdk" or just "-s". Furthermore, "C:\Program Files (x86)\Java\jdk1.7.0_25" is not a valid SDK. --sdk should be the Titanium SDK version to bootstrap the build, though the in the tiapp.xml always wins. If you want to set the Java home, then set it via the JAVA_HOME environment variable.

JSON Source