0
I have a project that was working normally, but yesterday I had to install Windows on my computer. And today I open the project and when I try to compile, I get this message:
Error:(1, 1) error: illegal Error:(1, 10) error: class, interface, or Enum expected Error:Execution failed for task ':app:compileDebugJavaWithJavac'. Compilation failed; see the Compiler error output for Details. :app:compileDebugJavaWithJavac FAILED
Ever tried to clean the project? Go on Build/Clean Project, must solve.
– Leonardo Dias
The clean doesn’t work, but I got it. It’s just that before installing the new system, I was using Gradle 2.1.3 and the Android Studio setup I have has Gradle 2.1.2, so I had to update it.
– António Macave