Genymobile / Genymobile/scrcpy
Problems with installing apk files
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
**Environment**
- OS: macOS 13.0.1
- scrcpy version: 2.0
- installation method: brew
- device model: samsung SM-S9080
- Android version: 13
**Describe the bug**
When I drag and drop to install the apk file, the app will be installed as dual app at the same time, I don't know if this is a feature or a bug, but it is quite annoying, how can I solve this problem?
```
gehbfarr5@maegbug-peulo ~ % scrcpy --power-off-on-close --turn-screen-off --stay-awake --max-size=1544 --video-bit-rate=2M --max-fps=15 --display-buffer=300 --audio-buffer=500 --audio-bit-rate=64K --hid-keyboard
scrcpy 2.0
/usr/local/Cellar/scrcpy/2.0/share/scrcpy/scrcpy-server: 1 file pushed, 0 skipped. 13.2 MB/s (52867 bytes in 0.004s)
[server] INFO: Device: samsung SM-S9080 (Android 13)
ERROR: Could not find any USB device
ERROR: Fallback to default keyboard injection method (-K/--hid-keyboard ignored)
INFO: Renderer: metal
INFO: Initial texture: 720x1544
[server] INFO: Device screen turned off
[server] INFO: Forcing screen off
[server] INFO: Forcing screen off
INFO: Request to install /Users/gehbfarr5/Library/CloudStorage/Dropbox/My Mac (maegbug-peulo.local)/Downloads/APKPure_v3.19.02_apkpure.com.apk
INFO: Installing /Users/gehbfarr5/Library/CloudStorage/Dropbox/My Mac (maegbug-peulo.local)/Downloads/APKPure_v3.19.02_apkpure.com.apk...
Performing Streamed Install
Success
INFO: /Users/gehbfarr5/Library/CloudStorage/Dropbox/My Mac (maegbug-peulo.local)/Downloads/APKPure_v3.19.02_apkpure.com.apk successfully installed
```
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is identified. Start by reproducing the drag-and-drop APK installation on the stated macOS, scrcpy 2.0, Samsung SM-S9080, and Android 13 setup, then determine whether the dual-app behavior comes from scrcpy or the device. Done means the cause and expected handling are established and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, c
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100