JavaFX到Android(com.android.ide.common.internal.LoggedErrorException)

时间:2015-02-18 02:05:55

标签: java android javafx javafx-8

我正在将我的Javafx应用程序部署到Android上,我按照教程Empty bin,libs,src folders after creating Android project using Javafx android-tools,使用了dalvik-sdk的Ensemble示例,但在执行assembleDebug后,抛出了错误:

* What went wrong:
Execution failed for task ':android:dexDebug'.
> com.android.ide.common.internal.LoggedErrorException: Failed to run  command:
C:\AndroidSDK\build-tools\21.1.1\dx.bat -JXmx2g --dex --no-optimize --core-library --output     C:\FXSamples\MultiProject\android\build\intermediates\dex\debug --input-   list=C:\FXSamples\MultiProject\android\build\intermediates\tmp\dex\debug\inputList.txt

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

确保在您的计算机中配置了JVM 1.8 u40。

check here