Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3603] Windows: Windows Requires Emulator to Be Installed.

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionInvalid
Resolution Date2016-05-11T09:29:42.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsn/a
ReporterDee Clawson
AssigneeShak Hossain
Created2016-05-06T14:15:15.000+0000
Updated2016-05-11T09:29:42.000+0000

Description

Problem: To build for windows the setup checks for the presence of the emulator. If the emulator is not installed it throws an error: An error was detected with the SDKs configuration. Reason [Windows SDK Home] Windows platform is not supported by the selected SDK". Reason: Not everyone needs the emulators installed. Solution: Only check for the presence of the SDK.

Comments

  1. Nazmus Salahin 2016-05-08

    Hello, I am not able to reproduce this issue exactly but I have found something else. *Steps:* 1. Uninstall windows phone emulator from control panel and restart PC. 2. Create any project for windows phone. 3. Connect a windows phone to PC and run the following command in CLI. appc run -p windows -T wp-device The app builds and run on Windows Phone Device without any error. 4. Run the following command appc run Following error log is produced. *Error Log:*
       C:\ProgramData\Titanium\mobilesdk\mobilesdk\win32\5.1.2.GA\windows\cli\commands\_build\config\deviceID.js:76
                                       throw new Error(
                 ^
       Error: No Windows Phone emulators found
           at WindowsBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\mobilesdk\win32\5.1.2.GA\windows\cli\commands\_build\config\devi
       ceID.js:76:11)
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:838:9)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:945:13
           at Immediate.q.process (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.
       js:913:25)
           at processImmediate [as _immediateCallback] (timers.js:367:17)
       ---------------------------------------------
           at Object.setImmediate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.
       js:200:9)
           at _insert (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:861:19)
           at Object.q.push (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:888
       :17)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:925:9
           at Array.forEach (native)
           at CLI.prompt (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:924:43)
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:640:13)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\node-appc\lib\async.js:66:6
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:697:13
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:451:65)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:451:65)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:451:65)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:479:13
           at WindowsBuilder.<anonymous> (C:\ProgramData\Titanium\mobilesdk\mobilesdk\win32\5.1.2.GA\windows\cli\commands\_build\config\devi
       ceID.js:110:4)
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:474:16)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:523:9)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:523:9)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:523:9)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       ---------------------------------------------
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:275:35
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:44:16
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:694:17
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:173:37
           at CLI.<anonymous> (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\lib\cli.js:523:9)
           at c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:689:13
           at iterate (c:\Users\titanium\.appcelerator\install\5.2.0\package\node_modules\titanium\node_modules\async\lib\async.js:265:13)
           at process._tickCallback (node.js:355:11)
       
    *Environment*: *OS :Microsoft Windows 8.1 Enterprise N *Device info:* Microsoft Lumia 640 (Windows Phone 8.1) *Node.js Version:* 0.12.7 *npm Version:* 2.11.3 *Titanium SDKs:* 5.4.0.v20160429102159 *Java Development Kit Version:* 1.8.0_73 *Titanium CLI Version:* 5.0.5 *Appcelerator CLI Version:* 5.2.2 *Appcelerator Studio:* 4.5.0
  2. Dee Clawson 2016-05-10

    You can close this issue out. After uninstalling and installing visual studio without the emulators I no longer get this problem.

JSON Source