appcelerator 7.0.2安装问题

时间:2018-03-20 18:32:40

标签: titanium appcelerator appcelerator-titanium

安装appcelerator IDE V7.0.2后,我在日志中遇到了上述错误。 配置:osx 10.13.3,节点js V9.8.0,Java sdk:8

我首先安装了appcelerator CLI,它运行正常。

我尝试使用不同版本的节点和Java 9,但没有成功。

我卸载并重新安装了CLI和studi但没有成功

谢谢。

## logs extract :

!SESSION 2018-03-20 17:53:19.443 -----------------------------------------------
eclipse.buildId=unknown
java.version=9.0.4
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=fr_FR
Framework arguments:  -keyring /Users/oliviervinot/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/oliviervinot/.eclipse_keyring -consoleLog -showlocation

!ENTRY VisualUI 4 0 2018-03-20 17:53:21.213
!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
                  -> Bundle-SymbolicName: org.msgpack-core; bundle-version="1.0.0.1511010372"
                     org.msgpack-core [348]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.appcelerator.titanium.360.core 4 0 2018-03-20 17:53:21.215
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.appcelerator.titanium.360.core [17]
  Unresolved requirement: Require-Bundle: com.appcelerator.titanium.core; bundle-version="3.0.0"
    -> 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
                  -> Bundle-SymbolicName: org.msgpack-core; bundle-version="1.0.0.1511010372"
                     org.msgpack-core [348]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.appcelerator.titanium.360.soasta 4 0 2018-03-20 17:53:21.216
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.appcelerator.titanium.360.soasta [19]
  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
                  -> Bundle-SymbolicName: org.msgpack-core; bundle-version="1.0.0.1511010372"
                     org.msgpack-core [348]
                       Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

    at org.eclipse.osgi.container.Module.start(Module.java:434)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

!ENTRY com.appcelerator.titanium.360.ui 4 0 2018-03-20 17:53:21.217
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: com.appcelerator.titanium.360.ui [20]
  Unresolved requirement: Require-Bundle: com.appcelerator.titanium.360.core; visibility:="reexport"
    -> Bundle-SymbolicName: com.appcelerator.titanium.360.core; bundle-version="1.1.0.1512033598"; singleton:="true"
       com.appcelerator.titanium.360.core [17]
         Unresolved requirement: Require-Bundle: com.appcelerator.titanium.core; bundle-version="3.0.0"
           -> 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
                         -> Bundle-SymbolicName: org.msgpack-core; bundle-version="1.0.0.1511010372"
                            org.msgpack-core [348]
                              Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

...
!MESSAGE Application error
!STACK 1
java.lang.RuntimeException: Application "com.appcelerator.titanium.rcp.application" could not be found in the registry. The applications available are: com.aptana.commandline.launcher.LauncherApplication, org.eclipse.ant.core.antRunner, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.equinox.app.error, org.eclipse.equinox.p2.director, org.eclipse.equinox.p2.garbagecollector.application, org.eclipse.equinox.p2.publisher.InstallPublisher, org.eclipse.equinox.p2.publisher.EclipseGenerator, org.eclipse.equinox.p2.publisher.ProductPublisher, org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher, org.eclipse.equinox.p2.reconciler.application, org.eclipse.equinox.p2.repository.repo2runnable, org.eclipse.equinox.p2.repository.metadataverifier, org.eclipse.equinox.p2.artifact.repository.mirrorApplication, org.eclipse.equinox.p2.metadata.repository.mirrorApplication, org.eclipse.equinox.p2.updatesite.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.UpdateSitePublisher, org.eclipse.equinox.p2.publisher.CategoryPublisher, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.ui.ide.workbench.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:564)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

1 个答案:

答案 0 :(得分:2)

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

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

相关问题