这里写自定义目录标题
androidStudio 编译问题
Task :app:compileDebugJavaWithJavac FAILED
javacTask: Դ���а� 1.8 ��ҪĿ�귢�а� 1.8
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
在这里插入图片描述
添加 targetCompatibility JavaVersion.VERSION_1_8
或者
搞定