actionscript-3 - 创建 AIR 文件 : Could not generate timestamp: Remote host closed connection during handshake 时出错

标签 actionscript-3 apache-flex air flash-builder

我一直在尝试从 Flash Builder 导出发布版本,但出现错误:

enter image description here

错误信息是:

Error creating AIR file: Could not generate timestamp: Remote host closed connection during handshake



更新:
我找到了这个 post它说它使用 https://timestamp.geotrust.com/tsa获取时间戳。我在浏览器中访问了这个 URL 并收到 404 - 找不到页面。

更新 2:
它看起来像时间戳 site已经下降了几天了。

更新 3:
看起来 geotrust 切换到 TLS 1.2 破坏了 Flash Builder。这是 Adob​​e 的回复 here :

Thanks for reporting the issue. We investigated and found that timestamp.geotrust.com has recently disabled TLS 1.0 (see comments on http://downornotworking.com/timestamp.geotrust.com/), and hence please try upgrading to Java 1.8 on your machine where ADT (a component in AIR SDK which is based on Java) packaging takes place.



好的。我已阅读 here Flash Builder 和 Java 1.8 存在兼容性问题。我要安装 Java 1.8 吗?我如何使用 Flash Builder 做到这一点?

我在 Mac OS X 10.11 上运行 Flash Builder 4.7

最佳答案

有一篇关于如何为 Java 7/8 设置 Flash Builder 的好文章

Running Adobe Flash Builder on Mac with Java 7/8

我在此处重新创建步骤以防链接脱机

Steps to follow

Set your JAVA_HOME to Java 7 or Java 8 as per the correct paths on your machine.

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home

Open JVM’s Info.plist at $JAVA_HOME/../Info.plist and add the highlighted lines to JVMCapabilities array:arrays
Create a symlink for libjvm.dylib as follows:

sudo mkdir –p /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bundle/Libraries
sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/server/libjvm.dylib

/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bundle/Libraries/libserver.dylib

Note: Correct the version number (in jdk1.7.0_79.jdk) path in the above example to make it point to the correct path on your machine.
Set java.library.path by adding the following lines at the end of “/Applications/Adobe Flash Builder 4.7/Adobe Flash Builder

4.7.app/Contents/MacOS/Adobe Flash Builder 4.7.ini”.

-Djava.library.path=../../../eclipse/plugins/com.adobe.flexide.nativelibs_4.7.0.349722/os/macosx/:../../../eclipse/plugins/com.adobe.flexide.amt_4.7.0.349722/os/macosx/:../../../eclipse/plugins/com.adobe.flexbuilder.utils.osnative_4.7.0.349722/os/macosx/

Restart your machine and launch Flash Builder. Possible error

If you are trying to launch Flash Builder on Mac OS 10.12 and you see an error such as:

java.lang.RuntimeException: Application "com.adobe.flexbuilder.standalone.FlashBuilderApplication" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.ant.ui.antRunner, 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.jdt.apt.core.aptBuild, org.eclipse.jdt.core.JavaCodeFormatter, org.eclipse.ui.ide.workbench, org.eclipse.update.core.standaloneUpdate, org.eclipse.update.core.siteOptimizer. 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:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Locate a directory named “p2” at /Applications/Adobe Flash Builder 4.7/ and delete it. Flash Builder should now launch.

关于actionscript-3 - 创建 AIR 文件 : Could not generate timestamp: Remote host closed connection during handshake 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39940359/

相关文章:

node.js - AS3可以从 header 识别CORS权限吗?

java - 我的 Flex 应用程序如何知道数据何时过时?

database - 如何在 Adob​​e Air 中的 LIKE 运算符模式中使用命名参数

css - (Flex) - Adob​​e AIR - 字体大小与 em?用百分比?

actionscript-3 - ActionScript 3 AsyncToken 实现

actionscript-3 - 我的 MKV 到 MP4 转换的视频不能在 flex 中播放

actionscript-3 - 如何在flex中检测CTRL + C输入和F3键输入

django - Flex HTTPservice 和 POST,发送文件?

apache-flex - Flex 3 事件在复合自定义组件上传播?

android - 如何仅通过 GPS 读数确定方向并以 360 度显示?