zoukankan      html  css  js  c++  java
  • Appium遇到的问题

    1.An unknown server-side error occurred while processing the command. Original error: activity and pkg are required to start an application


    2.An unknown server-side error occurred while processing the command. Original error:
    Cannot start the 'com.baidu.searchbox' application.
    Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting.
    Original error: Cannot start the 'com.baidu.searchbox' application.
    Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting.
    Original error: Activity name '.com.baidu.searchbox/.MainActivity' used to start the app doesn't exist or cannot be launched!
    Make sure it exists and is a launchable activity

    解决方法:https://testerhome.com/topics/16454?locale=zh-CN
    通过 adb shell monkey -p com.baidu.searchbox -v -v -v 1 找到你想要app的启动activity



    {
    "platformName": "Android",
    "deviceName": "810EBM32U8GC",
    "platformVersion": "5.1",
    "app": "com.baidu.searchbox",
    "appActivity": "com.baidu.searchbox.SplashActivity"
    }

    {
    "deviceName": "892QAETNVKYFN",
    "platformName": "Android",
    "platformVersion": "8.1.0",
    "appPackage": "com.qihoo.srouter.n300",
    "appActivity": "com.qihoo.srouter.n300/com.ifenglian.superapp.ui.firewall.SAMainActivity "
    }

  • 相关阅读:
    React 之 jsx
    React 之 初识
    vue 之 svg
    c#进阶 之 特性
    c#进阶 之 反射Reflection
    面试题解答分析
    c#进阶 之 泛型
    c#进阶 之 修饰符
    c#进阶 之 方法汇总
    微信开发学习(二)
  • 原文地址:https://www.cnblogs.com/yayayou/p/11608884.html
Copyright © 2011-2022 走看看