Reputation: 11
I've recently updated my Android SDK to the latest available and I'm getting the following error when I try to build from the command line and deploy to my Samsung Galaxy S3:
$ titanium build -p android -T device -C --device-id 6f01b9ae
Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[ERROR] : Invalid "--device-id" value "6f01b9ae"
For help, run: titanium help build
Does anybody have anything I can try to get past this? I'm pretty stuck and would really appreciate some help. Thanks!
Upvotes: 0
Views: 1376
Reputation: 921
Because the Titanium tooling uses android's adb to push to your device, first run
adb devices
Verify that the device is seen by adb and that the id you are using matches.
Second, -C and --device-id are the same flags and do not need to be repeated. These are the same:
$ titanium build -p android -T device -C 6f01b9ae
$ titanium build -p android -T device --device-id 6f01b9ae
Upvotes: 1