android studio 加载外部文件出现红色J android studio加载外部文件时会出现如下图所示: 解决方案:1、点击 File —> Project Structure —>Modules —>src —>Source. OK !!!