鸿蒙No module found. Make sure the project sync is completed successfully and the module is set in ...

从网上下载下来的代码可能会无法直接运行,需要配置一下Configuration

问题如下

No module found. Make sure the project sync is completed successfully and the module is set in Edit Configuration > General.


1.首选点击模拟器旁边的add  Configurations...  选择 Edit Configurations...   选择openharmonyOS 在name那里输入entry 如图所示即可解决问题


©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容