Genymobile / scrcpy

Display and control your Android device
Apache License 2.0
111.3k stars 10.67k forks source link

I have this issue #5435

Open rinz713 opened 1 hour ago

rinz713 commented 1 hour ago

scrcpy 2.7 https://github.com/Genymobile/scrcpy INFO: ADB device found: INFO: --> (usb) 5431caa6 device Redmi_Note_7 C:\Users\Administrator\Downloads\scrcpy-win64-v2.7\scrcpy-... file pushed, 0 skipped. 74.4 MB/s (71200 bytes in 0.001s) adb: error: failed to copy 'C:\Users\Administrator\Downloads\scrcpy-win64-v2.7\scrcpy-win64-v2.7\scrcpy-server' to '/data/local/tmp/scrcpy-server.jar': remote couldn't create file: Permission denied ERROR: "adb push" returned with value 1 ERROR: Server connection failed Press Enter to continue...

rom1v commented 1 hour ago

For some reason, you cannot push to data/local/tmp/ on your device. Try to push any file to that location using adb push yourfile /data/local/tmp.

Also: https://stackoverflow.com/questions/59046671/android-shell-user-has-no-access-to-data-local-tmp-even-though-it-is-the-owner