首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >appcelerator 7.0.2安装问题

appcelerator 7.0.2安装问题
EN

Stack Overflow用户
提问于 2018-03-21 02:32:40
回答 1查看 344关注 0票数 0

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

我首先安装了appcelerator CLI,它工作得很好。

我尝试了不同版本的node和Java 9,但都没有成功。

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

谢谢。

代码语言:javascript
复制
## 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)
EN

回答 1

Stack Overflow用户

发布于 2018-05-17 18:18:45

问题出在jdk版本上,而不是节点版本上。从路径/Library/ java /JavaVirtualMachines/中删除(删除创建的文件夹)安装的appcelerator.dmg,然后尝试安装jdk,它会自动要求下载jdk,并下载所需的jdk版本。

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49391769

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档