Project: titanium
Issue TIMOB-19263: Android : Build fails for android with ti CLI 4.1.2 with error "ti run exited with error code 1"
*The error is due to titanium CLI 4.1.2 as seen in the error logs.* *Reproducible from appc CLI 4.2.0-1 as well.* h5.Steps To Reproduce: 1. Create an app for android. 2. Build for android device/emulator h5. Actual Results: 1. The build fails with error: {code} [ERROR] : Failed to compile Java source files: [ERROR] : [ERROR] : /Users/lokeshchoudhary/Desktop/workspaces/new_workspace/Zclassic/build/android/gen/com/app/zclassic/ZclassicApplication.java:48: error: cannot find symbol [ERROR] :	stylesheet = new ApplicationStylesheet(); [ERROR] :	^ [ERROR] : symbol: class ApplicationStylesheet [ERROR] : location: class ZclassicApplication [ERROR] : Note: /Users/lokeshchoudhary/Desktop/workspaces/new_workspace/Zclassic/build/android/gen/com/app/zclassic/AssetCryptImpl.java uses unchecked or unsafe operations. [ERROR] : Note: Recompile with -Xlint:unchecked for details. [ERROR] : 1 error TRACE | titanium exited with exit code 1 ERROR | Error: ti run exited with error code 1 at ChildProcess. (/Users/lokeshchoudhary/.appcelerator/install/4.2.0-1/package/node_modules/appc-cli-titanium/plugins/run.js:89:66) at ChildProcess.emit (events.js:98:17) at Process.ChildProcess._handle.onexit (child_process.js:820:12) [ERROR] Application Installer abnormal process termination. Process exit value was 1 {code} h5.Expected Results: 1. The build should be successful.
Story points: 2