Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use 'ant clean test' with the newest android sdk. '${renderscript.opt.level}' is not a permitted value for com.android.ant.RenderScriptTask$OptLevel

Tags:

android

ant

Use 'ant clean test' with the newest android sdk got error:

build.xml:622: The following error occurred while executing this line:

build.xml:642: '${renderscript.opt.level}' is not a permitted value for com.android.ant.RenderScriptTask$OptLevel

like image 376
Dev Wei Avatar asked Jun 29 '12 03:06

Dev Wei


1 Answers

How's this? https://issues.apache.org/jira/browse/CB-974 Seems to be an issue in R20 of the Android SDK API 16 (the latest as of June 28, 2012). I've actually no experience with RenderScript but the solution appears to be setting renderscript.opt.level=O0.

like image 85
Tom Avatar answered Nov 17 '22 20:11

Tom