Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Not compatible with jdk >= 8 #176

@ber4444

Description

@ber4444

this is due to github.com/google/dagger/issues/1449

> Task :debug-updater:compileDebugJavaWithJavac FAILED
/SdkSearch/debug-updater/build/generated/source/kapt/debug/com/jakewharton/sdksearch/debug/updater/UpdateActivityModule_ContributeUpdateActivity.java:9: error: package javax.annotation does not exist
import javax.annotation.Generated;
                       ^
/SdkSearch/debug-updater/build/generated/source/kapt/debug/com/jakewharton/sdksearch/debug/updater/UpdateActivityModule_ContributeUpdateActivity.java:14: error: cannot find symbol
@Generated("dagger.android.processor.AndroidProcessor")
 ^
  symbol: class Generated
/SdkSearch/debug-updater/build/generated/source/kapt/debug/com/jakewharton/sdksearch/debug/updater/UpdateActivity_MembersInjector.java:4: error: package javax.annotation does not exist
import javax.annotation.Generated;
                       ^
/SdkSearch/debug-updater/build/generated/source/kapt/debug/com/jakewharton/sdksearch/debug/updater/UpdateActivity_MembersInjector.java:7: error: cannot find symbol
@Generated(
 ^
  symbol: class Generated
4 errors

edit: with JDK13, the error is now

Could not compile settings file '/SdkSearch-master/settings.gradle'.
> startup failed:
  General error during semantic analysis: Unsupported class file major version 57

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions