-
-
Notifications
You must be signed in to change notification settings - Fork 765
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bug: IllegalAccessError when starting AndroidDriver in Appium 9.1.0 #2124
Comments
You probably have some conflicting version of Google Guava lib in your dependency tree |
My project dependencies shows it is com.google.guava.guava:33.0.0.-jre lib. And that is the only one Guava lib in the dep. tree. Is this the compatible version? |
I found that however it is com.google.guava.guava:33.0.0-jre (which is compatible) set in the gradle build file, but at runtime the incompatible com.google.guava.guava:33.0.0-android version is set under the gradle cache. |
Here is the resolution. Force Gradle to use "-jre" version of Guava instead of "-android". Reference: |
Do I have the most recent component updates?
Is the component officially supported by the Appium team?
Is there an existing issue for this?
Current Behavior
Using libs:
io.appium:java-client:9.1.0
org.seleniumhq.selenium:selenium-java:4.17.0
When start the android driver it throws IllegalAccessError.
Expected Behavior
It should start the driver successfully.
Minimal Reproducible Example
Environment
appium --version
): 2.5.1node --version
): v20.11.0npm
version (output ofnpm --version
): 10.2.4Link to Appium Logs
No response
Further Information
No response
The text was updated successfully, but these errors were encountered: