Type mismatch: inferred type is Buffer but BufferedSink! was expected #1760
Unanswered
ArcherEmiya05
asked this question in
Q&A
Replies: 2 comments
-
|
Hi, is this an issue with Android Studio rather than the library? Thanks |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This also happens with Android Studio Hedgehog | 2023.1.1 with AGP 8.2.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Moshi Version: 1.15.0
Moshi Converter Version: 2.9.0
AGP: 8.1.3
Android Studio: Android Studio Giraffe | 2022.3.1 Patch 3
Code:
The line
JsonWriter.of(buffer)is having two error, but still compile and run.Cannot access class 'okio.BufferedSink'. Check your module classpath for missing or conflicting dependenciesType mismatch: inferred type is Buffer but BufferedSink! was expectedBeta Was this translation helpful? Give feedback.
All reactions