为什么使用appium开启应用时报错:An unknown server-side error occurred while processing the command. Original使用appium开启应用时报错
{
"platformName": "Android",
"platformVersion": "9",
"deviceName": "andro",
"udid": "YCY4C17C09002935",
"appPackage": "com.thinkerjet.mobilepartner",
"appActivity": ".ui.main.MainActivity",
"newCommandTimeout": 360000,
"unicodeKeyboard": "True",
"noReset": "True",
"resetKeyboard": "True"
}
复制代码
An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.thinkerjet.mobilepartner' 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 'D:\adb\android-sdk\platform-tools\adb.exe -P 5037 -s YCY4C17C09002935 shell am start -W -n com.thinkerjet.mobilepartner/.ui.main.MainActivity -S' exited with code 255'; Stderr: 'Security exception: Permission Denial: starting Intent { flg=0x10000000 cmp=com.thinkerjet.mobilepartner/.ui.main.MainActivity } from null (pid=18398, uid=2000) not exported from uid 10136 java.lang.SecurityException: Permission Denial: starting Intent { flg=0x10000000 cmp=com.thinkerjet.mobilepartner/.ui.main.MainActivity } from null (pid=18398, uid=2000) not exported from uid 10136 at