Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.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
Android 将args传递给aapt_Android_Ant - Fatal编程技术网

Android 将args传递给aapt

Android 将args传递给aapt,android,ant,Android,Ant,我正在运行ant,并在build.xml中添加了以下内容 但我得到了:\ xml:51:元素类型“aapt”后面必须跟属性规范“>”或“/>” 在resourcefilter=“${aapt.resource.filter}”的末尾没有 <target name="-package-resources" > <!-- only package resources if *not* a library project --> <

我正在运行ant,并在build.xml中添加了以下内容 但我得到了:\ xml:51:元素类型“aapt”后面必须跟属性规范“>”或“/>”



resourcefilter=“${aapt.resource.filter}”
的末尾没有

<target name="-package-resources" > 
     <!-- only package resources if *not* a library project -->     
        <aapt executable="${aapt}"
                command="package" 
                versioncode="${version.code}" 
                debug="${build.is.packaging.debug}" 
                manifest="AndroidManifest.xml" 
                assets="${asset.absolute.dir}" 
                androidjar="${android.jar}" 
                apkfolder="${out.absolute.dir}" 
                resourcefilename="${resource.package.file.name}" 
                resourcefilter="${aapt.resource.filter}"
            <res path="${out.res.absolute.dir}" /> 
            <res path="${resource.absolute.dir}" />
        </aapt>     
</target>