Ant build ${renderscript.opt.level}问题解决方案

 

问题如下:

BUILD FAILED
D:\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:653: The following error occurred while executing this line:
D:\adt-bundle-windows-x86_64-20131030\sdk\tools\ant\build.xml:679: '${renderscript.opt.level}' is not a permitted value for com.android.ant.RenderScriptTask$OptLevel

 

解决方案:

在android工程的project.properties中加入 renderscript.opt.level=O0 即可。

Ant build ${renderscript.opt.level}问题解决方案

你可能感兴趣的:(script)