在使用appium启动会话时报错,启动微信可以成功,环境变量检查过了正确的

在使用appium启动会话时报错,启动微信可以成功,环境变量检查过了正确的
Failed to create session. An unknown server-side error occurred while processing the command. Original error: Cannot start the 'io.yhb' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command 'C:\android-sdk-windows\platform-tools\adb.exe -P 5037 -s CUYDU19621000286 shell am start -W -n io.yhb/io.dcloud.PandoraEntryActivity -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=io.yhb/io.dcloud.PandoraEntryActivity } from null (pid=31412, uid=2000) not exported from uid 10352 java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=io.yhb/io.dcloud.PandoraEntryActivity } from null (pid=31412, uid=2000) not exported from uid 10352 at com.android.server.wm.ActivityStackSupervisor.checkStartAnyActivityPermission(libmapleservices.so:5256412) at com.android.server.wm.ActivityStarter.startActivity(libmapleservices.so:5284140) at com.android.server.wm.ActivityStarter.startActivity(libmapleservices.so:5294540) at com.android.server.wm.HwActivityStarter.startActivity(libmaplehwServices.so:2038948) at com.android.server.wm.ActivityStarter.startActivityMayWait(libmapleservices.so:5634076) at com.android.server.wm.HwActivityStarter.startActivityMayWait(libmaplehwServices.so:2151960) at com.android.server.wm.ActivityStarter.execute(libmapleservices.so:5258092) at com.android.server.wm.ActivityTaskManagerService.startActivityAndWait(libmapleservices.so:8209872) at com.android.server.am.ActivityManagerService.startActivityAndWait(libmapleservices.so:8210664) at com.android.server.am.ActivityManagerShellCommand.runStartActivity(libmapleservices.so:8214608) at com.android.server.am.ActivityManagerShellCommand.onCommand(libmapleservices.so:8226188) at android.os.ShellCommand.exec(libmapleframework.so:2621916) at com.android.server.am.ActivityManagerService.onShellCommand(libmapleservices.so:8227084) at android.os.Binder.onTransact(libmapleframework.so:3618592) at android.app.IActivityManager$Stub.onTransact(libmapleframework.so:6156552) at com.android.server.am.ActivityManagerService.onTransact(libmapleservices.so:7816348) at com.android.server.am.HwActivityManagerService.onTransact(libmaplehwServices.so:2478780) at android.os.Binder.execTransactInternal(libmapleframework.so:6274772) at android.os.Binder.execTransact(libmapleframework.so:6276568)

img