Couldn't use .apks in appium espresso driver
See original GitHub issueHi, I saw that in the Readme, we’re allowed to use either .apk
or .apks
for the app
capability, but when I tried to run the test using .apks, I got this error
org.openqa.selenium.SessionNotCreatedException: Unable to create a new remote session. Please check the server log for more details. Original error: A new session could not be created. Details: New app path ‘/Users/sakarindra/project/gitlab/marketplace-qa.apks’ did not have extension: .apk
I’m using Appium 1.22.0.
Please advise, thank you!
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
still getting lifecycleEventObserver error when using Espresso ...
I'm stuck for days trying to simply launch an app using Espresso driver with Appium. I'm on a Kotlin \ Gradle project, using...
Read more >Appium Scripts are failed to Execute while setting ...
So I guess you can do the same thing by finding appium-espresso-driver apk and sign them, then put them back to the original...
Read more >appium-espresso-driver - npm
Java JDK must be installed and JAVA_HOME environment variable must be set. Android SDK below API 30 requires Java 8. Android SDK 30...
Read more >What's New in the Perfecto Smart Automation Platform
BlazeMeter University now includes a new Appium 2.0: Fundamentals course. ... For automation testing, you can use the existing capability ...
Read more >An Overview of Appium's Lesser Known Drivers - HeadSpin
Automate Everything. Learn about some of Appium's less standard drivers. These drivers enable automation of Android apps via the Espresso framework, macOS ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@KazuCocoa I tried your solutions with below config :
.apks
with Appium keysthe app is successfully installed in my emulator but it seems like the espresso server couldn’t be started, I keep getting error
socket hang up
and here’s what I got from Appium logWe can use .apks with espresso driver. After unzipping
.apks
, usesplits/base-master.apk
to get the package and launch activity. Also signing info can be provided by the user to create espresso-server and it will work.