Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Missing javaCompileTask for variant

Trying to build something with Android Studio 3.0 that worked fine in a previous version. Now I am seeing:

Error:Execution failed for task ':mobile-app:transformClassesWithRetrolambdaForDevDebug'.

Missing javaCompileTask for variant: dev/debug/0 from output dir: /Users/myname/mycompany-android-app/MyProject/mobile-app/build/intermediates/transforms/retrolambda/dev/debug/0

I had a prior compile issue I got around by the adding the following to my module level build.gradle inside of defaultConfig:

javaCompileOptions { annotationProcessorOptions { includeCompileClasspath false } }

I can't find much of anything on "javaCompileTask". Maybe that relates to something else?

like image 201
user443654 Avatar asked Jun 13 '17 14:06

user443654


Video Answer


1 Answers

I ended up commenting out the apply plugin for the retro lambda and that did it.

like image 139
user443654 Avatar answered Sep 30 '22 18:09

user443654