Error executing adbExec. Command output: Error: Intent matches multiple activities; can't stop: Intent

I am trying to get the solution for the following error.

Original error: Error executing adbExec. Original error: 'Command '/Users/XXX/Library/Android/sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' exited with code 1'; Command output: **Error: Intent matches multiple activities; can't stop: Intent** { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 }

I referred many things and found out that this issue is with the appActivity.
I am passing the correct appPackage, appActivity & appWaitActivity but still every time i execute the instance of the android test, it fails and gives 500 error.

Please provide solution to this error.

I referred this on google- Error: Intent matches multiple activities · Issue #17589 · appium/appium · GitHub