Genymobile / Genymobile/scrcpy
(Solution) "Adb push! Returned with value 1"
- Dominant language
- C
- Stars
- 150k
- Forks
- 13.7k
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 2
Description
When I downloaded it I couldn't start because it said: "Adb push! Returned with value 1" so I looked for solutions and in one of the places I found someone who said to put "-m 1080" that would solve and be resolvable, in a way, but I still had to enter on the windows Promt, fix the directory (cd c: \ scrcpy) and put the "mallet", scrcpy -m 1080, but this was very exhausting to do every time so I remembered once to put a command in the app it was just go on property and write in the destination, give it a space and put " - " and the command that at the time you use the app would work with the proposed command so I created a shortcut on the desktop I did the following:

> C: \ ScrCPy \ scrcpy.exe -m 1080 -f -w --turn-screen-off --no-key-repeat --prefer-text
**-m 1080:** to work
**-f:** full screen (I indicate if only the top one is on a green screen that when it enters full screen it corrects Ps: there is no need to keep it in full screen!)

**-w:** stay awake, to prevent the device to sleep after some delay when the device is plugged in
**--turn-screen-off:** It is possible to turn the device screen off while mirroring on start with a command-line option (Or by pressing MOD + o at any time. To turn it back on, press MOD + Shift + o )
**--prefer-text:** (when using accents repeated the letter (EX: aã; eê; oô...)
There are two kinds of events generated when typing text:
* key events, signaling that a key is pressed or released;
text events, signaling that a text has been entered.
* By default, letters are injected using key events, so that the keyboard behaves as expected in games (typically for WASD keys).
But this may cause issues. If you encounter such a problem, you can avoid it by.
After applying, I could now enter srcpy in a faster and more viable way!
(to make it more "comfortable" I changed the icon of the executable to a phone.)

> @rom1v **So, what do you think ??**
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is mentioned. Start by determining whether this is intended as a documentation request or a product change; the issue currently describes a Windows desktop shortcut rather than a defined repository change.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, shell
- Domain
- cli
- Issue type
- Documentation
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 15/100