BUILD FAILED
/Users/komagata/android-sdks/tools/ant/build.xml:622: The following error occurred while executing this line:
/Users/komagata/android-sdks/tools/ant/build.xml:642: '${renderscript.opt.level}' is not a permitted value for com.android.ant.RenderScriptTask$OptLevel

Android Tools Rev20にアップデートしたらこのようにbuildできなくなった人のためにおいておきます。

renderscript.opt.level=O0

% git diff ant.properties 
diff --git a/framework/ant.properties b/framework/ant.properties
index 243b691..5ddf4f2 100644
--- a/framework/ant.properties
+++ b/framework/ant.properties
@@ -31,4 +31,4 @@
 #  'key.store' for the location of your keystore and
 #  'key.alias' for the name of the key to use.
 # The password will be asked during the build when you use the 'release' target.
-
+renderscript.opt.level=O0

Comments


Option