java - Project not compiling using Kotlin in Project -


i have problem compiling program when add class in kotlin in it. when clean of project, , start running it, next error prompt:

error:execution failed task ':app:compileretrolambdamyproject'. 

process 'command '/applications/android studio.app/contents/jre/jdk/contents/home/bin/java'' finished non-zero exit value 1

the thing if execute again project works perfectly. have build project twice in order execute project.

i need fixed because build final version in jenkins , giving me problems.

any clues on how fix it?

edit:

this unique warnings gives me, said, warnings, not errors, , if run again project works :

warning:(31, 57) parameter 'buttonview' never used, renamed _ warning:(40, 46) parameter 'v' never used, renamed _ warning:(56, 48) parameter 'v' never used, renamed _ error:execution failed task ':app:compileretrolambdamyproject'. > process 'command '/applications/android studio.app/contents/jre/jdk/contents/home/bin/java'' finished non-zero exit value 1 

the problem retrolambda library, following issue on github: https://github.com/evant/gradle-retrolambda/issues/105

the solution add :

retrolambda {     jvmargs '-noverify' } 

to gradle, , upgrading retrolambda library version 3.7.0.


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -