Home>

I want to create a client for the site for Android (Android Studio 3.0.1). This site has a dynamic HTML, and my favorite JSOP does not cope with this. Search on the Internet and found Selenium and Appium, httpunit. But I can't install them in any way! Each of them gives a million errors. I tried to install selenium by downloading the library with> http://www.seleniumhq.org/download/(3.8.1), Jar put in project /libs, made Add As Library, but when I start the assembly issues all the time different errors, it is not clear to what it complains)) sometimes such errors

Execution Failed for Task ': App: PredebugandroidtestBuild'.

Conflict with dependency 'com.google.code.findBugs: JSR305' IN PROJECT ': App'. Resolved Versions for App (1.3.9) And Test App (2.0.1) Differ. See https://d.android.com/r/Tools/Test-Apk-Dependency-Conflicts.htmlFor details.

or such errors: Error: Execution Failed for Task ': App: TRANSFORMCLASSESWITHDEXBUILDERFORDEBUG'.

com.android.build.api.transform.transformException: com.android.builder.dexing.DexArchiveBuilderException: com.android.builder.dexing.DexArchiveBuilderException: Failed to Process C: \ Users \ Asus.Gradle \ Caches \ Modules -2 \ Files-2.1 \ Org.SpringFramework \ Spring-Expression \ 5.0.2.release \ 246BF50B5B46379041D333B4A46A01A7AEA0B788 \ SPRING-Expression-5.0.2.release.jar Error: com.android.dx.cf.code.simexception: Invalid Opcode BA (InvokeDynamic Requires --min-SDK-Version > = 26) Error: com.android.builder.dexing.DexArchiveBuilderException: Error While Dexing Org /Springframework /Expression /Spel /support /reflectiveMethodresolver.class Error: com.android.builder.dexing.DexArchiveBuilderException: Failed to process C: \ Users \ AsUs.gradle \ caches \ modules-2 \ files-2.1 \ org.springframework \ spring-expression \ 5.0.2.RELEASE \ 246bf50b5b46379041d333b4a46a01a7aea0b788 \ Spring-Expression-5.0.2.release.jar Warning: Ignoring Innerclasses Attribute for An Anonymous Inner Class

So I have already tried:

Android {
    Configurations.all {
        resolutionstrategy.force 'com.google.code.findbugs: JSR305: 1.3.9'
    }
}

I tried to install the appium like this:

Compile 'Io.appium: java-client: 6.0.0-beta2'

I tried to install Selenium and Appium together, but still it does not work. I do not know what they mean these mistakes. Maybe they are not compatible with Android Studio? Offer some kind of parser for dynamic sites. Help me please!

Did you find the answer? If yes, shared.

Kepler New2021-04-20 00:38:37