Package name ‘xxx‘ does not correspond to the file path ‘xxx‘

解决方法: 将Package 删除

Package name ‘xxx‘ does not correspond to the file path ‘xxx‘

Package name ‘xxx‘ does not correspond to the file path ‘xxx‘

1. 两步操作后,这个包对应的文件已从 文件夹 中删除了。  

2. 将此文件 再次复制到  文件夹中

3. 将此 文件 Import Module

Package name ‘xxx‘ does not correspond to the file path ‘xxx‘

3. 中途会提示: 是否覆盖已有的模块 → 选择中间的“重新导入 (还是啥的忘记了)”  

4. 导入进来后 ,就完美解决了   包名“xxx”与文件路径“xxx”不对应  的问题