[TIMOB-23480] CLI: Can't launch any app (Android, Mobileweb) on Windows 10 OS
GitHub Issue | n/a |
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-06-08T17:05:04.000+0000 |
Affected Version/s | Release 5.3.0 |
Fix Version/s | Release 5.3.1 |
Components | CLI, Windows |
Labels | n/a |
Reporter | Nicolas Castelli |
Assignee | Christopher Williams |
Created | 2016-06-04T05:42:20.000+0000 |
Updated | 2016-06-17T13:23:13.000+0000 |
Description
Steps to Reproduce
Just install the application Appcelerator to try it o Windows 10
Import any project
Run it
Actual Result
Failed with the same log, regardless of the emulator (web, android)
Expected Result
That the app runs !
I remove and re-install countless, no change. I don't make any change on the code, i'm just starting to try the product.
Attachments
Error comes when launching with Titanium 5.3.0. Just try to change the version to Titanium 5.2.2 and it's working. Doesn't understand the issue.
I have the same issue building on Mac with 5.3.0. Emulator works fine but trying to run on an iPhone gives gives: [ERROR] : An error occurred during build after 1m 9s 138ms [ERROR] : Failed to start "com.apple.syslog_relay" service (0xe800007f) [ERROR] : Try reconnecting your device and try again. Switch back to 5.2.2 and it works fine. Have tried reconnecting device, rebooting mac and iPhone multiple times but same error. in the past just reconnecting iPhone used to fix the Failed to start "com.apple.syslog_relay" service error.
Hello, Thanks for reporting. However it is not possible to identify the problem with so little information. Please give us some more information. We would like to see your environment details. You can get that with the following command in CLI.
Thanks in advance
The appc info results.
here you go : info.log. It seems that the Titanium 5.3.0 doesn't work. Works perfectly with the 5.2.2 version.
Hello, In that case it may be that the SDK is not installed properly. Please re-install the SDK with the following command.
appc ti sdk install 5.3.0.GA --force
ThanksNo, it doesn't work. The SDK is well installed and has a problem : 2016-06-05T09:56:05.317Z | ERROR | An uncaught exception was thrown! Cannot read property 'options' of undefined 2016-06-05T09:56:05.318Z | ERROR | Cannot read property 'options' of undefined 2016-06-05T09:56:05.318Z | TRACE | TypeError: Cannot read property 'options' of undefined at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:65:11 at Array.forEach (native) at set (C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:64:24) at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\node_modules\titanium-sdk\lib\titanium.js:100:6 at C:\ProgramData\Titanium\mobilesdk\win32\5.3.0.GA\mobileweb\cli\commands\_build.js:105:4 at CLI._fireHookCallback (C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:267:3) at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\lib\hook.js:248:10 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:697:13 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:52:16 at C:\Users\ONYX\.appcelerator\install\5.3.0\package\node_modules\titanium\node_modules\async\lib\async.js:267:21
My appc info results attached as DAappcinfo.txt Have tried reinstalling sdk but still having the issue
I have the same issue, "Cannot read property 'options' of undefined". Appcelerator Studio 4.6.0 SDK 5.3.0GA Windows 10 All works well on SDK 5.2.2GA
Hello, First, create a new project with SDK 5.3.0.GA and try to run the project in simulator, device, what have you. If the error still persists, I would recommend installing SDK manually. Download the SDK http://builds.appcelerator.com/mobile-releases/5.3.0/mobilesdk-5.3.0.GA-osx.zip from here. 1. Go to your SDK directory and delete the SDK 5.3.0.GA that is already there. Now, extract the content of the downloaded file. Put the 5.3.0.GA folder in the SDK directory. Or, Go to studio help/install appcelerator SDK/ select the downloaded zip file. Now, restart the studio and try to run the project again. Regards, Sharif.
Still got the same problem. WIth the 5.3.0 and the 6.0.0 SDK.
The same here, even with a new project and after installing SDK manually.
Tried manually installing SDK 5.3.0 GA but still the same. Not sure if any use but opening the xcode project created by titanium and building/running from xcode to my iPhone does work for 5.3.0
Can reproduce the issue using the following: Windows 10 Ti SDK: 5.3.0.GA Appc Core: 5.3.0 Appc NPM: 4.2.6 *Only Android tools installed* When Visual Studio and Windows SDK tools are not installed on a Windows machine, building for Android/Mobileweb errors out with the below
This error occurs due to a change in windowslib where it is returning an error if Visual Studio is not installed instead of just returning the detection results. I've created a ticket to properly fix it: TIMOB-23484.
*The build that contains this fix can be obtained by running
appc ti sdk install -b 5_3_X -d
* Verified using: Windows 10 Pro Ti SDK: 5.3.1.v20160609013346 Appc NPM: 4.2.7-2 Appc CLI: 5.3.1-2 The following configurations: ||Android tools installed||Visual Studio installed||Universal App tools installed||Windows Phone 8.0/8.1 tools installed|| |(/)|(x)|(x)|(x)| |(/)|(/)|(x)|(x)| |(/)|(/)|(/)|(x)| |(/)|(/)|(/)|(/)| Building for Android and Mobileweb works in all of the configurations above Closing ticketYes it worked now ! But not with the 5.3.0 GA installed by the application. the Ti SDK: 5.3.1.v20160609013346 installed manually worked.