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

app:transformClassesWithRetrolambdaForDebug error #189

Open rajivenator opened 8 years ago

rajivenator commented 8 years ago

I am getting this error below since quite few days.. some times it works once i clean and rebuild the project ... but many times it fails.

Since today I am not able to build and run my app. Changes : Added new Play Services 9.0.0 plugin to my projectt

Error:Execution failed for task ':app:transformClassesWithRetrolambdaForDebug'. A problem occurred starting process 'command 'C:\Program Files\Java\jdk1.8.0_91\bin\java.exe''

ksummerlin commented 8 years ago

I can also add that I'm getting this error. I ran with --stacktrace and saved the result to a gist

Archinamon commented 8 years ago

+1 I'm getting the same on 3.3.0-beta4 build :(

Archinamon commented 8 years ago

Investigate a bit about this error. It occurs inside IntermediateFolderUtils class, while processing scopes of already transformed jars by another transformers. I have aspectj-transformer, that has scopes: project, local dependencies, external libraries. And when parseScopeLevelFolders method goes through the folders with transformed sources, it clashes with scope project of my transformer and throws runtime error. Bad error and I can't understand what way should two transformers work in.

wyxiloveu commented 8 years ago

who solve this problem?help