0

我正在使用 Flash builder 4.6,Flex 4.6.0 SDK 覆盖有 AIR 3.8 SDK,我无法进行导出构建,也无法在移动设备中进行调试。在设备中调试时出现错误。

FB 4.6 错误日志:

dx tool failed:Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

java.lang.Exception
at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore.java:1019)
at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
at com.adobe.flexbuilder.multisdk.apollo.export.AIRAPKPackager.create(AIRAPKPackager.java:190)
at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHandler.java:447)
at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandler.java:250)
at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatformLaunchDelegate.java:191)
at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:244)
at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate.java:134)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

我的 Flex 4.6.0 SDK 没有遇到这个问题。提前致谢。

4

1 回答 1

0

我的 FlashBuilder 4.6(Flex 4.6.0 SDK、AIR SDK 3.9)也有同样的问题

打开您的 FlashBuilder.ini 文件并尝试更改以下值:

-Xms1520m -Xmx1520m -XX:MaxPermSize=512m -XX:PermSize=64m

有了这个值,我可以解决这个问题。此致

于 2014-03-04T09:48:52.530 回答