Appcelerator中的Windows模拟器

时间:2017-02-19 13:09:27

标签: windows-mobile appcelerator

我正在尝试使用appcelerator为Windows Mobile创建应用,iOS和Android版本已经构建完成。但我无法在Appcelerator中找到任何模拟器。

他们在Visual Studio 2015中工作。

所以我启用了Hyper-V选项并让模拟器在VS 2015中运行,当我使用appcelerator运行应用时它说:无效" - device-id"价值" 8-1-1"

怎么办? 提前谢谢!

当我运行" appc info"我明白了(请注意,没有列出模拟器:

Appcelerator Command-Line Interface, version 6.1.0
Copyright (c) 2014-2017, Appcelerator, Inc.  All Rights Reserved.

Operating System
  Name                        = Microsoft Windows 10 Pro
  Version                     = 10.0.14393
  Architecture                = 32bit
  # CPUs                      = 8
  Memory                      = 15.9GB

Node.js
  Node.js Version             = 4.6.0
  npm Version                 = 2.15.9

Appcelerator CLI
  Installer                   = 4.2.8
  Core Package                = 6.1.0

Titanium CLI
  CLI Version                 = 5.0.11
  node-appc Version           = 0.2.39

Titanium SDKs
  6.0.1.GA
    Version                   = 6.0.1
    Install Location          = C:\ProgramData\Titanium\mobilesdk\win32\6.0.1.GA
    Platforms                 = android, mobileweb, windows
    git Hash                  = 265db0d
    git Timestamp             = 12/20/2016 00:54
    node-appc Version         = 0.2.39

Intel® Hardware Accelerated Execution Manager (HAXM)
  Not installed

Java Development Kit
  Not found

Genymotion
  Path                        = not found
  Genymotion Executable       = not found
  Genymotion Player           = not found
  Home                        = not found

VirtualBox
  Executable                  = not found
  Version                     = unknown

Android SDK
  Android Executable          = not found
  ADB Executable              = not found
  SDK Path                    = not found

Android NDK
  NDK Path                    = not found
  NDK Version                 = not found

Android Platforms
  None

Android Add-Ons
  None

Android Emulators
  None

Genymotion Emulators
  None

Connected Android Devices
  None

Microsoft (R) Visual Studio
  14.0 (selected)
    Path                      = C:\Program Files (x86)\Microsoft Visual Studio 14.0\
    CLR Version               = v4.0.30319
    MSBuild Version           = v14.0.25420.1
    Windows Phone SDKs        = not installed

Microsoft (R) Windows Phone SDK
  8.1 (selected)
    Path                      = C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.1\

Windows PowerShell
    Enabled                   = yes

Windows Phone Emulators
8.1
10.0

Windows Phone Devices

Java Development Kit Issues
  ×  JDK (Java Development Kit) not installed.
     If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
     set.
     The JDK is required for must be manually downloaded and installed from
     http://appcelerator.com/jdk.

Android Issues
  ×  JDK (Java Development Kit) not found.
     If you already have installed the JDK, verify your JAVA_HOME environment variable is correctly
     set.
     The JDK can be downloaded and installed from http://appcelerator.com/jdk.

1 个答案:

答案 0 :(得分:0)

您可以运行此命令,看看是否有帮助。

  

appc run -p windows --target wp-emulator --deploy-time development   --device-id 8-1-1

请检查此主题。 Unable to run Windows Phone 8.1 Emulator on Titanium Appcelerator

确保 appc info 输出中列出了Windows 8.1模拟器。它看起来与此相似。

Windows Phone Emulators
8.1
  Emulator 8.1 WVGA 4 inch 512MB
    UDID                      8-1-1
  Emulator 8.1 WVGA 4 inch
    UDID                      8-1-2
  Emulator 8.1 WXGA 4.5 inch 
    UDID                      8-1-3 
  Emulator 8.1 720P 4.7 inch 
    UDID                      8-1-4 
  Emulator 8.1 1080P 5.5 inch 
    UDID                      8-1-5 
  Emulator 8.1 1080P 6 inch 
    UDID                      8-1-6