Getting error message as "Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error:

Hi,
Actually while executing an appium script getting below error.
So script opening an application and quickly getting close.

org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the ‘riotinto.metal.provenance’ application. Consider checking the driver’s troubleshooting documentation. Original error: Error executing adbExec. Original error: ‘Command ‘C:\Users\shubham.bajad\AppData\Local\Android\Sdk\platform-tools\adb.exe -P 5037 -s emulator-5554 shell am start -W -n riotinto.metal.provenance/crc64188153237d53579e.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000’ exited with code 255’; Command output: Security exception: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=riotinto.metal.provenance/crc64188153237d53579e.MainActivity } from null (pid=21522, uid=2000) not exported from uid 10088

java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=riotinto.metal.provenance/crc64188153237d53579e.MainActivity } from null (pid=21522, uid=2000) not exported from uid 10088error.txt (79.5 KB)

complete log is in attached document

https://stackoverflow.com/questions/19829507/android-java-lang-securityexception-permission-denial-starting-intent