1

I am running android studio on windows and I have never worked with maven before.

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project maven-model: Compilation failure
[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
Oleg Estekhin
  • 8,063
  • 5
  • 49
  • 52

1 Answers1

0

Looks like you are trying to compile and the Java compiler comes as part of the JDK. So check your java installation and replace the path to the JRE with path to the JDK and that should resolve the above error.

Additional details on the difference between JRE and JDK in this link:What is the difference between JDK and JRE?

ranjithkr
  • 594
  • 3
  • 10