Image(this.currentIndex === index ? '/resources/home.png' : '/resources/filled.png')
> hvigor ERROR: Failed :entry:LegacyCompileResource...
> hvigor ERROR: A problem occurred in entry module:
ERROR: Cause: Tools execution failed.
Error: 'I:\openHarmony\superContacter\entry\src\main\resources\home.png' not directory.
ERROR: Solution: Please check the message from tools.
错误原因:ide识别不到这个目录,
解决方法: 在MainAbilityg下新建resourses目录,把图片放入这个目录,就可以了