Error Loading Project: Cannot load module app

默认module app改名后,启动as后会提示Error Loading Project: Cannot load module app.

解决办法:

    1. close project
    1. 重启as,启动界面,在项目上点x 清除项目
    1. import project

搞定

下面的没尝试,不知道好不好使:

https://stackoverflow.com/questions/35705698/error-loading-project-in-android-studio-cannot-load-modules

  • Delete the *.iml files and rebuild the project (Build > Rebuild), it should be ok after that.
    原文作者:会灰的大飞狼
    原文地址: https://www.jianshu.com/p/918670ecb58b
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞