Even though I manually configured JDK project structure file/Project structure it still shows this error
FAILURE: Build failed with an exception.
`What went wrong:
Execution failed for task ':sample:compileReleaseJavaWithJavac'.
Could not find tools.jar. Please check that C:Program FilesJavajre1.8.0_151 contains a valid JDK installation.`
I'm confused why it is still looking for C:Program FilesJavajre1.8.0_151 instead of JDK
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…