Hello Jinhui,
Please clean your project, also delete the file of intermediate files :

then rebuild to test again. If still have this error, pleas search where is the
code in your project, this is link to wrong place, if you can't find it , please
share your project to me .
Hope it helps
Have a great day,
Alice Yang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------