Home > Mobile >  Python + appium + real machine
Python + appium + real machine

Time:10-01

selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'com.hztech.peopledeputies' 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:\\Program Files (x86)\\Android\\android-sdk\\platform-tools\\adb.exe' -P 5037 -s baf7d2ca0205 shell am start -W -n com.hztech.peopledeputies/com.hztech.module.login.LoginActivity -S' exited with code 255'; Stderr: 'Security exception: Permission ": starting Intent {FLG=0 x10000000 CMP=com. Hztech. Peopledeputies/com hztech. The module. The login. LoginActivity} from null (uid=pid=14340, 2000) the not exported from the uid 10149

Java. Lang. SecurityException: Permission ": starting Intent {FLG=0 x10000000 CMP=com. Hztech. Peopledeputies/com hztech. The module. The login. LoginActivity} from null (uid=pid=14340, 2000) the not exported from the uid 10149
At com. Android. Server. Am. ActivityStackSupervisor. CheckStartAnyActivityPermission (ActivityStackSupervisor. Java: 1709)
At com. Android. Server. Am. ActivityStarter. StartActivity (ActivityStarter. Java: 467)
At com. Android. Server. Am. ActivityStarter. StartActivityLocked (ActivityStarter. Java: 283)
At com. Android. Server. Am. ActivityStarter. StartActivityMayWait (ActivityStarter. Java: 920)
At com. Android. Server. Am. ActivityManagerService. StartActivityAndWait (ActivityManagerService. Java: 4874)
At com. Android. Server. Am. ActivityManagerShellCommand. RunStartActivity (ActivityManagerShellCommand. Java: 412)
At com. Android. Server. Am. ActivityManagerShellCommand. OnCommand (ActivityManagerShellCommand. Java: 141)
. An android OS. ShellCommand. Exec (ShellCommand. Java: 96)
At com. Android. Server. Am. ActivityManagerService. OnShellCommand (ActivityManagerService. Java: 15545)
. An android OS. Binder. ShellCommand (597) Binder. Java:
. An android OS. Binder. OnTransact (495) Binder. Java:
. An android app. IActivityManager $Stub. OnTransact (IActivityManager. Java: 4328)
At com. Android. Server. Am. ActivityManagerService. OnTransact (ActivityManagerService. Java: 3027)
. An android OS. Binder. ExecTransact (Binder. Java: 704) '; Code: '255'
Everybody, this is where there is a problem, consult for half a day did not find
  • Related