appcelerator钛工作室没有开始

时间:2018-05-16 12:30:40

标签: javascript installation titanium titanium-mobile appcelerator-titanium

我刚刚尝试安装新的appcelerator钛工作室,我能够正确安装它但是当我尝试启动它时它会显示以下错误: Error Screenshot

以下是我的

  

appc info

Operating System
  Name                        = Mac OS X
  Version                     = 10.12.6
  Architecture                = 64bit
  # CPUs                      = 4
  Memory                      = 8.0GB

Node.js
  Node.js Version             = 9.5.0
  npm Version                 = 5.6.0

Appcelerator CLI
  Installer                   = 4.2.13
  Core Package                = 7.0.3

Titanium CLI
  CLI Version                 = 5.1.0
  node-appc Version           = 0.2.44

Titanium SDKs
  7.1.1.GA
    Version                   = 7.1.1
    Install Location          = /Users/webwerks/Library/Application Support/Titanium/mobilesdk/osx/7.1.1.GA
    Platforms                 = iphone, android
    git Hash                  = 1708b2d
    git Timestamp             = 4/19/2018 18:20
    node-appc Version         = 0.2.45

Mac OS X
  Command Line Tools          = installed

Intel® Hardware Accelerated Execution Manager (HAXM)
  Not installed

Java Development Kit
  Version                     = 9_181
  Java Home                   = /Library/Java/JavaVirtualMachines/jdk-9.jdk/Contents/Home

Genymotion
  Path                        = /Applications/Genymotion.app/Contents/MacOS
  Genymotion Executable       = /Applications/Genymotion.app/Contents/MacOS/genymotion
  Genymotion Player           = /Applications/Genymotion.app/Contents/MacOS/player.app/Contents/MacOS/player
  Home                        = /Users/webwerks/.Genymobile/Genymotion

VirtualBox
  Executable                  = /usr/local/bin/VBoxManage
  Version                     = 5.2.8r121009

Android SDK
  Android Executable          = not found
  ADB Executable              = /Users/webwerks/Library/Android/sdk/platform-tools/adb
  SDK Path                    = /Users/webwerks/Library/Android/sdk

日志文件如下:

!SESSION 2018-05-16 17:55:58.244 -----------------------------------------------
eclipse.buildId=unknown
java.version=9
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/webwerks/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/webwerks/.eclipse_keyring -consoleLog -showlocation

!ENTRY VisualUI 4 0 2018-05-16 17:56:04.566
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: VisualUI [3]
  Unresolved requirement: Require-Bundle: com.appcelerator.titanium.core
    -> Bundle-SymbolicName: com.appcelerator.titanium.core; bundle-version="3.1.2.1512467051"; singleton:="true"
       com.appcelerator.titanium.core [30]
         Unresolved requirement: Require-Bundle: com.appcelerator.titanium.daemon.core; visibility:="reexport"
           -> Bundle-SymbolicName: com.appcelerator.titanium.daemon.core; bundle-version="1.0.0.1512401448"; singleton:="true"
              com.appcelerator.titanium.daemon.core [31]
                Unresolved requirement: Require-Bundle: org.msgpack-core

我也尝试在终端上运行appc设置,但它仍无效。

请让我解决这个问题。

提前致谢

1 个答案:

答案 0 :(得分:4)

问题在于您的jdk版本。从path / Library / Java / JavaVirtualMachines /中删除(删除创建的文件夹)安装的java,然后尝试安装appcelerator.dmg,它会自动请求下载jdk,它将下载所需的jdk版本。

或者,请下载此jdk版本(1.8.0_131)并将此jdk替换为此版本。我希望它会对你有所帮助。