warning is only shown on IDE and doesn’t log (or fail when
allWarningsAsErrors
) ?
g
GTR
10/17/2022, 9:05 PM
sorry for guessing - I found this channel and your message by accident ;]
but IMO you should take a look into build.gradle of your module and make sure you have in section
plugins {...}
plugin which handles 'generating code for serialization'
a
Achraf Amil
10/18/2022, 9:28 AM
@GTR yes this is how to fix the warning. My question is more about the warning only showing in the IDE and not while building from cmd line.
g
GTR
10/18/2022, 8:36 PM
well, let me still do some guessing ;]
my Android Studio sometimes also behave in strange way
so 1st: try to clear cash of Android Studio [File > Clear Cache]
and then rebuild project
if still the problem:
2nd: try to update either Android Studio and Gradle Android Plugins [if not updates]