Alright, so I tested separately a bunch of alternatives on the .apk project and none of them worked (it gave me the same error). Here’s what I did:
- added transitive = false notation for espresso dependency
androidTestImplementation ('androidx.test.espresso:espresso-core:3.3.0'){
transitive=false
}
- Updated espresso lib version
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0-alpha02'
-
Remove the espresso dependency
-
Downgraded androidx.core dependency
implementation 'androidx.core:core-ktx:1.1.0'
Since Espresso run tests work with the .apk project in Android Studio, I’m starting to assume it is a appium-espresso-driver problem.
If I open the same issue in GitHub’s appium-espresso-driver project, will it have a different analysis approach ?