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

Not compatible with jdk >= 8 #176

Open
ber4444 opened this issue Dec 4, 2019 · 0 comments
Open

Not compatible with jdk >= 8 #176

ber4444 opened this issue Dec 4, 2019 · 0 comments

Comments

@ber4444
Copy link

ber4444 commented Dec 4, 2019

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant