我已经尝试过清理项目,即便如此,当我尝试构建时它会显示该文件不存在,但它显示相同的错误。 然而,我确实恢复了该文件的早期版本,之后出现了此错误。我确保该文件存在于硬盘中 这是logcat
Warning:string 'setting_legal' has no default translation.
D:\Android\26 aug 17\12novplayerafterad\laMusique2May2016\src\main\java\bitsie\playmee\musicplayer\free\fragments\BaseSongFragment.java
Error:(61, 26) error: package MetaTagEditDialog does not exist
D:\Android\26 aug 17\12novplayerafterad\laMusique2May2016\src\main\java\bitsie\playmee\musicplayer\free\fragments\FragmentFolder.java
Error:(70, 26) error: package MetaTagEditDialog does not exist
D:\Android\26 aug 17\12novplayerafterad\laMusique2May2016\src\main\java\bitsie\playmee\musicplayer\free\playback\MediaPlayerFragment.java
Error:(97, 26) error: package MetaTagEditDialog does not exist
Error:Execution failed for task ':laMusique2May2016:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 9.203 secs
Information:4 errors
Information:1 warning
Information:See complete output in console
答案 0 :(得分:1)
这对我有用
File -> Invalidate Caches / Restart..