Description:
1.Build for device an android app using the CLI. Make sure you have --android-sdk with trailing slash.
e.g:
ti build -p android --android-sdk /Users/lokeshchoudhary/Desktop/android-sdk-macosx/ -d /Users/lokeshchoudhary/Desktop/workspace_4_6_13/default_app -T device -C 0c1aaa71
Actual Result:
1.We get error:
[ERROR] Invalid "--device-id" value "0c1aaa71"
On digging further I noticed one more behaviour:
1.Run the same command as above again & it will build normally.
So, to summarize it gives the device error on every alternating runs
Expected Result:
1.We should not get any errors & the app should build successfully every time.
Pull request: https://github.com/appcelerator/titanium_mobile/pull/4919
Verified the fix. Running the build does not give us the invalid "--device-id" error. Closing. Environment: Appcel Studio : 3.2.0.201311080232 Ti SDK : 3.2.0.v20131108155642 Mac OSX : 10.8.5 Alloy : 1.3.0 CLI - 3.2.0 Device: Samsung Galaxy S4 running android 4.2.2