首页 > 解决方案 > Ant-Build 上的 CodenameOne 问题

问题描述

我想为我的代号构建寻求一些帮助。我无法弄清楚导致此错误的原因。

我收到的所有错误描述: build.xml:78: Compile failed; see the compiler error output for details.

我在第 78 行 Build.xml 文件周围的上下文:错误发生在类路径中。

<target name="-pre-compile" depends="-cn1-compile-css">
    <echo>Compile is forcing compliance to the supported API's/features for maximum device compatibility. This
        allows smaller
        code size and wider device support
    </echo>
    <mkdir dir="build/tmp"/>
    <javac destdir="build/tmp"
           encoding="${source.encoding}"
           source="1.8"
           target="1.8"
           bootclasspath="lib/CLDC11.jar" excludes="${excludes}"
           classpath="${javac.classpath}:${build.classes.dir}">
        <src path="${src.dir}"/>
        <withKotlin>
            <compilerarg value="-no-stdlib"/>
            <compilerarg value="-no-reflect"/>
            <compilerarg value="-no-jdk"/>
        </withKotlin>
    </javac>
</target>

标签: antcodenameone

解决方案


推荐阅读