Execution failed for task ':app:compileDebugAidl'.
> Could not resolve all files for configuration ':app:debugCompileClasspath'.
> Could not find androidx.tonyodev.fetch2:xfetch2:3.1.6.
Required by:
project :app
Hence I googled why this is an error and wanted to try the solution from this stack overflow post:
But, it seems the two files where this is set are:
Hey try to delete temp files (saved, build, intermediate) select Android NDK 25.18937393 and in 5.3 instead of using old JDK or JRE use JBR. Like on video tutorial:
coz from log seems something with Gradle (old jdk)
I have deleted all temporary files multiple times.
I can build the default top-down project without any issues.
It’s just this project and I don’t know why.
I have an identical setup to the video you linked.
I’m productive again since I was able to create a new project and copy the content over.
But I would still like to know what caused the error in the first place.
Hmm yeah good idea to migrate not all, but for a parts and check when it’s happen that could help to intercept the issue. I thought also that can be a plugin…