还未发布过话题
  • 我也出现了这个问题,让人没想到的是……我当时是同时开了模拟器,也在电脑上插了手机充电,把手机拔掉只用模拟器就好了,可能是多设备他识别出错?
    报错大致如下
    An unknown server-side error occurred while processing the command. Original error: Error executing adbExec. Original error: 'Command adb.exe[adb 的安装路径]' -P 5037 -s da52d8410704 shell pm install -g /data/local/tmp/appium_cache/3d97225b036c28750562ef8962defee6b1af19a4.apk' exited with code 1'; Stderr: 'Error: java.lang.SecurityException: You need the android.permission.INSTALL_GRANT_RUNTIME_PERMISSIONS permission to use the PackageManager.INSTALL_GRANT_RUNTIME_PERMISSIONS flag'; Code: '1'