1、Error:The modules'MOOC','android'point to same directory in the file system. Each module has to have a unique path
- 背景介紹:使用android studio編譯react-native項目,報錯如下
![]()
react-native error: Each module has to have a unique path.錯誤解決
2、解決方案:将項目android檔案下的 ***.iml 檔案删掉,重新導入編譯即可
![]()
react-native error: Each module has to have a unique path.錯誤解決