Putting task artifact state for task ':app:compileDebugJavaWithJavac' into context took 0.0 secs.
file or directory 'D:\FrameDemo\app\src\debug\java', not found
Up-to-date check for task ':app:compileDebugJavaWithJavac' took 0.038 secs. It is not up-to-date because:
Task has failed previously.
All input files are considered out-of-date for incremental task ':app:compileDebugJavaWithJavac'.
Compiling with source level 1.8 and target level 1.7.
file or directory 'D:\FrameDemo\app\src\debug\java', not found
Compiling with JDK Java compiler API.
javacTask: 源发行版 1.8 需要目标发行版 1.8
找到原因,然后File-->Project Structure-->Source Compatibility和Target Compatibility改成相同的版本,问题就解决了
5635



被折叠的 条评论
为什么被折叠?



