appium / appium-espresso-driver

Espresso integration for Appium
Apache License 2.0
194 stars 75 forks source link

no-compose-deps - Having nullPointerException while pulling the latest changes #1013

Closed jagansekar-93 closed 5 months ago

jagansekar-93 commented 5 months ago

Task :app:dexBuilderDebugAndroidTest FAILED ERROR:/Users/<>/WorkSpace/appium-espresso-driver/espresso-server/app/build/intermediates/javac/debugAndroidTest/classes/io/appium/espressoserver/lib/helpers/InvocationOperation$2.class: D8: java.lang.NullPointerException org.gradle.workers.WorkerExecutionException: There was a failure while executing work items Espresso Issue.txt

jagansekar-93 commented 5 months ago

@KazuCocoa @mykola-mokhnach - Kindly advise

KazuCocoa commented 5 months ago

It could depend on your dependencies environment if you have modified the dependencies. Our CI env succeeded in building espresso and ran various tests. https://github.com/appium/appium-espresso-driver/actions/runs/9507593126/job/26207322258

jagansekar-93 commented 5 months ago

Thanks! I think the problem is occurring while using Java 21.

jagansekar-93 commented 5 months ago

Working till Java 17

KazuCocoa commented 5 months ago

https://developer.android.com/build/jdks Android does not recommend Java 21 yet.