ant build 出错Android build.xml renderscript doesn't support includepath
来源:互联网 发布:非球面加工软件 编辑:程序博客网 时间:2024/05/16 12:20
ANT build的时候出现了如下错误:
renderscript doesn't support the "includePath" attribute
这是因为将adt版本更新到了 20.0.1.的缘故。所以做以下修改:
将build.xml里的如下代码:
更改如下:<renderscript executable="${renderscript}" includePath="${android.renderscript.include.path}" genFolder="${gen.absolute.dir}" resFolder="${out.res.absolute.dir}/raw" targetApi="${project.minSdkVersion}" optLevel="${renderscript.opt.level}" buildType="${build.is.packaging.debug}" previousBuildType="${build.last.is.packaging.debug}"> <source path="${source.absolute.dir}"/> </renderscript>
然后将build.xml里的如下代码:<renderscript executable="${renderscript}" includePathRefId="android.renderscript.include.path" genFolder="${gen.absolute.dir}" resFolder="${out.res.absolute.dir}/raw" targetApi="${project.minSdkVersion}" optLevel="${renderscript.opt.level}" buildType="${build.is.packaging.debug}" previousBuildType="${build.last.is.packaging.debug}"> <source path="${source.absolute.dir}"/> </renderscript>
<path id="android.renderscript.include.path"> <pathelement location="${android.platform.tools.dir}/renderscript/include" /> <pathelement location="${android.platform.tools.dir}/renderscript/clang-include" /> </path>
修改如下:
<path id="android.renderscript.include.path"> <pathelement location="${android.platform.tools.dir}/renderscript/include" /> <pathelement location="${android.platform.tools.dir}/renderscript/clang-include" /></path>
保存后重新ant build就ok了。
- ant build 出错Android build.xml renderscript doesn't support includepath
- Android ant 打包 ant -f build.xml release 出错
- Ant经验积累,build.xml出错
- android ant build.xml实例
- Ant-build出错处理
- ant打包出错 ant\build.xml:698: null returned: 1
- ant打包出错 ant\build.xml:698: null returned: 1
- ant打包出错 ant\build.xml:698: null returned: 1
- Android功能添加Ant的build.xml
- ANT Build.xml例子
- Ant build.xml sample
- Apache Ant Build.xml
- ANT-build.xml详解
- ant & build.xml详解
- ant build.xml
- ANT Build.xml例子
- ANT build.xml详解
- Ant build.xml
- poj 1152
- 数据库连接方式
- Ubuntu10.04 下架设dhcp服务器
- 第一个事件窗体
- android中MediaPlayer和SoundPool的声音管理
- ant build 出错Android build.xml renderscript doesn't support includepath
- 第 3 章 Python
- 店员每天电脑开机,或者有空余时间要经常检查部分(电脑部分)
- 2012年度工作总结
- expect正则捕获返回结果
- Discuz x2.5 后台邮件设置方法
- 收银员早班或者是晚班下班后,必须操作部分
- 收银必须要会操作部分
- 输出php传递给模板文件的普通变量及对象