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
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.