[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My...

[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My..._第1张图片
error.png

个人练手demo出现如此错误也不知道什么鬼,百度后得出以下三种解决方法,操作无果:

1.clear project

2.sync project

3.File -> Invalidate Caches / Restart -> Invalidate Caches & Restart.

查看项目原文件,文件代码竟然无误也不会乱码,无奈重装,还是无果,最后修改项目路径文件夹名,重新导入项目,成功解决!!!

修改前项目文件一堆乱码,图片加载出错等问题:

修改前:


[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My..._第2张图片
activityerror.png


[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My..._第3张图片
imgerror.png


[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My..._第4张图片
xmlerror.png

修改路径后加载成功:


[异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My..._第5张图片
activitysuccess.png

特此记录一下

你可能感兴趣的:([异常专栏]项目莫名其妙的Unsupported Modules Detected: Compilation is not supported for following modules: My...)