evant / gradle-retrolambda

A gradle plugin for getting java lambda support in java 6, 7 and android
Apache License 2.0
5.3k stars 449 forks source link

Error:transformClassesWithRetrolambdaForRelease #231

Open flyingun opened 7 years ago

flyingun commented 7 years ago

Hi, i got this error: Error:Execution failed for task ':PrjSDK:transformClassesWithRetrolambdaForRelease'.

Process 'command 'D:\XXXX\XXXXX\XXXX\jre\bin\java.exe'' finished with non-zero exit value -1073740791 build.gradle: dependencies { classpath 'com.android.tools.build:gradle:2.2.3' classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8' classpath 'me.tatarka:gradle-retrolambda:3.5.0' }

dtukov-qulix commented 7 years ago

Also got this error. Seems it is related to proguard because the error is only thrown for module with 'minifyEnabled true'.

Doko-Demo-Doa commented 7 years ago

I also got this error, but in debug ('transformClassesWithRetrolambdaForDevDebug').

No luck still after trying with google.

colinrtwhite commented 7 years ago

It's likely related to this issue: https://github.com/orfjackal/retrolambda/issues/121

flyingun commented 7 years ago

Never mind, guys.Everything works fine after reinstalling my OS.........

Doko-Demo-Doa commented 7 years ago

Found it.

It seems that because of latest nVIDIA driver. Rolling it back resolves the issue.

flyingun commented 7 years ago

Oh, yeah? I don't know if that works, cause I had reinstalled my OS. Maybe next time!

Doko-Demo-Doa commented 7 years ago

Yeah, to be more precise, it's 378.49 that caused the trouble. I didn't test with newer version. You can find version history here:

http://www.nvidia.com/download/find.aspx

Just roll it back to 376.33 or 376.19 (or maybe earlier).

flyingun commented 7 years ago

Now, I'm using the version 378.66, it works just fine.