Skip to content

Unable to build vlingo-iot-android #70

@gaurav-

Description

@gaurav-

I get the following error when I run the project as per the instructions in README

./gradlew backend:shadowJar

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/app/build.gradle' line: 1

* What went wrong:
Could not compile build file '/Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/app/build.gradle'.
//import io.vlingo.build.Proxies
> startup failed:
  build file '/Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/app/build.gradle': 1: unable to resolve class io.vlingo.build.Proxies
   @ line 1, column 1.
     import io.vlingo.build.Proxies
     ^

  1 error

Not sure what the purpose of that import is or how to get that dependency. Removing it and running leads to the following error:

./gradlew backend:shadowJar

> Configure project :app
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation'.
It will be removed at the end of 2018

> Task :backend:compileKotlin FAILED
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/domain/Journal.kt: (39, 71): Unresolved reference: registerEntryAdapter
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/AlarmController.kt: (15, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/HealthcheckController.kt: (15, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/HealthcheckController.kt: (18, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/TrackController.kt: (20, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/TrackController.kt: (24, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/TrackController.kt: (28, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected
e: /Users/gaurav/repos/vlingo/vlingo-examples/vlingo-iot-android/backend/src/main/kotlin/io/vlingo/hike/infrastructure/controller/TrackController.kt: (32, 22): Type mismatch: inferred type is KFunction1<@ParameterName Throwable, Completes<Response>> but ErrorHandler! was expected

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':backend:compileKotlin'.
> Compilation error. See log for more details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions