https://kotlinlang.org logo
#android
Title
# android
v

vyacheslav.gerasimov

05/03/2017, 7:56 AM
Unfortunately couldn’t reproduce it in sample project. Does it happen when you run gradlew build from console? If it does, could you run it with
--debug --stacktrace
and give me output? @adinugroho @zkvarz
z

zkvarz

05/03/2017, 8:01 AM
vyacheslav.gerasimov: Ok, stacktrace copied. kotlin_version '1.1.2-2' Gradle plugin: 2.3.1 Code that gives complication error: carsAdapter = CarsAdapter(context, object : CarsAdapter.OnItemClickListener { override fun onItemClick(position: Int) { } }) Stackgrace * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task 'appcompileDebugKotlinAfterJava'. at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84) at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55) at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62) at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46) at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) I can give more stacktrace, but it's too long to send here.
v

vyacheslav.gerasimov

05/03/2017, 8:04 AM
Could you post it as snippet?