russelarms/OffsetAnimator

Can't build for some reason...

AndroidDeveloperLB opened this issue · 8 comments

I get this:

Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html

Warning:One of the plugins you are using supports Java 8 language features. To try the support built into the Android plugin, remove the following from your build.gradle:
apply plugin: 'me.tatarka.retrolambda'
To learn more, go to https://d.android.com/r/tools/java-8-support-message.html

Error:Execution failed for task ':app:transformClassesWithRetrolambdaForDebug'.

Missing javaCompileTask for variant: debug/0 from output dir: D:\android\Android studio Projects\OffsetAnimator\app\build\intermediates\transforms\retrolambda\debug\0

image

Hello, can you show me your build.gradle files?

Sure, here:

maxthonsnap20170605194155

I tried to update everything to the latest possible version, but it didn't help.

Have you tried building project under stable Android Studio release (2.3.2) using classpath com.android.tools.build:gradle:2.3.2 instead of com.android.tools.build:gradle:3.0.0-alpha3 ?

hmmm... I tried now on another PC, with 2.3.2 version of gradle, and it works fine...
Maybe you should report this issue to Google:
https://issuetracker.google.com/issues/new

Say, does the lines in the images appear on purpose?
I'm talking about this:

device-2017-06-06-134554

This is an artifact of the image resource, we need to cut out the white edges.

@AndroidDeveloperLB If you want to use gradle 4.x version, you should remove the declare of retrorambda : apply plugin: 'me.tatarka.retrolambda' in your build.gradle file. I have try it and it works.

@guanpj Thank you so much, it worked.