Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/cocoa/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Titanium appcelerator 7.0.2安装问题_Titanium_Appcelerator_Appcelerator Titanium - Fatal编程技术网

Titanium appcelerator 7.0.2安装问题

Titanium appcelerator 7.0.2安装问题,titanium,appcelerator,appcelerator-titanium,Titanium,Appcelerator,Appcelerator Titanium,安装appcelerator IDE V7.0.2之后,我在日志中遇到了上面描述的错误。 配置:osx 10.13.3,节点js V9.8.0,Java sdk:8 我首先安装了appcelerator CLI,它工作正常 我尝试使用不同版本的node和Java9,但没有成功 我卸载并重新安装了CLI和studi,但未成功 多谢各位 ## logs extract : !SESSION 2018-03-20 17:53:19.443 ------------------------------

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

我首先安装了appcelerator CLI,它工作正常

我尝试使用不同版本的node和Java9,但没有成功

我卸载并重新安装了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)

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


或者,下载此jdk版本(1.8.0131),并用此版本替换该jdk。我希望它能帮助您。

请尝试NodeJS 8.10.0(LTS版本),并检查控制台命令
appc info
是否会显示任何问题。但问题似乎出在Studio上(Eclipse抛出了错误)。CLI应该运行良好,因此可以使用Atom开始工作。您的机器上还有其他Eclipse安装吗?我切换到了N8.10.0,但仍然存在错误。我的机器中没有其他Eclipse安装。以下是appc信息:Tianium SDK 7.1.0.GA版本=7.1.0安装位置=/Users/oliviervinot/Library/Application Support/Tianium/mobilesdk/osx/7.1.0.GA平台=iphone,android git Hash=df92fbf git Timestamp=3/14/2018 20:46节点appc版本=0.2.43 6.2.1.GA版本=6.2.1安装位置=/Users/oliviervinot/Library/Application Support/Titanium/mobilesdk/osx/6.2.1.GA平台=iphone,android,mobileweb git Hash=301ffa4 git Timestamp=2017年9月20日00:52节点appc版本=0.2.43Mac OS X命令行工具=已安装的英特尔硬件加速执行管理器(HAXM)未安装Java开发工具包版本=1.8.0_131 Java Home=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home 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已找到ADB可执行文件=未找到SDK路径=未找到Android NDK 0NDK路径=未找到NDK版本=未找到Xcode 9.2(构建9C40b)-Xcode默认安装位置=/Applications/Xcode.app/Contents/Developer iOS SDK=11.2 iOS模拟器=11.2监视SDK=4.2监视模拟器=4.2受TiSDK 7.1.0.GA支持=是EULA接受=是团队=无