• appium+python3+pycharm踩得坑


    错误:

    selenium.common.exceptions.WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:Windowssystem32cmd.exe /s /c "java -jar E:Appium ode_modulesappium ode_modulesappium-adbjarssign.jar D:wwwalgorithm_learn oolsapp_aweGW_v5.1.0_e039e8a.apk --override"
    java.util.zip.ZipException: zip file is empty
    at java.base/java.util.zip.ZipFile$Source.zerror(ZipFile.java:1252)
    at java.base/java.util.zip.ZipFile$Source.findEND(ZipFile.java:1072)
    at java.base/java.util.zip.ZipFile$Source.initCEN(ZipFile.java:1160)
    at java.base/java.util.zip.ZipFile$Source.<init>(ZipFile.java:997)
    at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:960)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:216)
    at java.base/java.util.zip.ZipFile.<init>(ZipFile.java:148)
    at java.base/java.util.jar.JarFile.<init>(JarFile.java:324)
    at java.base/java.util.jar.JarFile.<init>(JarFile.java:295)
    at java.base/java.util.jar.JarFile.<init>(JarFile.java:275)
    at s.Sign.sign(Sign.java:441)
    at s.Sign.main(Sign.java:532)
    )

    解决方法:其实是之前使用安装包时安装包部分文件已经编译 ,所以只需要再次把apk文件放入相关目录即可

  • 相关阅读:
    Windows 上 Redis 的安装
    SpringBoot项目application.yml 问题
    Gradle项目使用zxing在windows下报错:android:jar must specify an absolute path but is /${env.ANDROID_HOME}/…
    day23<AJAX>
    day22<文件上传>
    day21<过滤器>
    day20<监听器&国际化>
    day19<Service>
    day18<事务&连接池&DBUtils>
    day17<JDBC>
  • 原文地址:https://www.cnblogs.com/qieyu/p/10450154.html
Copyright © 2020-2023  润新知