Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android - Cannot create session - stream.apk cannot be installed #1485

Open
shadow2720 opened this issue Dec 18, 2024 · 0 comments
Open

Android - Cannot create session - stream.apk cannot be installed #1485

shadow2720 opened this issue Dec 18, 2024 · 0 comments

Comments

@shadow2720
Copy link

shadow2720 commented Dec 18, 2024

Describe the bug

When trying to initialize session with real device I´m sometimes facing an error claiming that stream.apk cannot be installed.
I tried that manualy using multiple ways - over ADB, push file to device + install over pm, install by clicking on file in device File explorer. It is not possible. It seems however that on some phones it works.
I´ve also noticed that once I try to call "adb install" with this .apk file, the ADB on the phone crashes and phone disconnects from server. I need to manually disable USB debugging, clear all authorizations and enable USB debugging again.

How to fix the installation?

Link to Appium logs

Logs from appium + logcat related to app install + app device-farm is trying to install:

app.zip

https://gist.github.com/shadow2720/3aa7495be59afef7d283d3572adafc71

Environment

  1. Appium version (or git revision) that exhibits the issue: multiple, tried different version
  2. Last Appium version that did not exhibit the issue (if applicable):
  3. Node.js version (unless using Appium.app|exe):
  4. Npm or Yarn package manager:
  5. Mobile platform/version under test: Android
  6. Real device or emulator/simulator: Real device - Google Pixel 6 for example
  7. Appium CLI or Appium.app|exe:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant