I suddenly started getting below error when I restarted Android.
I tried Clean Build, Rebuild, Invalidate Cache etc. but nothing worked. Also followed some inputs given on various sites to know real issue. I run the compiler with --scan and got below details of problem.
error: cannot access Hide
class file for com.google.android.gms.common.internal.Hide not found
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
:app:compileDebugJavaWithJavac FAILED
:app:buildInfoGeneratorDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
Pls guide how to fix this now. What went wrong all of sudden.