Lurker00 / scrcpy

Display and control your Android device
Apache License 2.0
41 stars 6 forks source link

Expecting 6 parameters #3

Open ShantanuNair opened 4 years ago

ShantanuNair commented 4 years ago

Building for: MacOS

I'm using the prebuilt server, but it looks like there is a mismatch with the number of params provided. When I do ./run x, I get

 ./run x
2020-06-30 23:05:36.524 scrcpy[21440:2632453] INFO: scrcpy 1.10-L0 <https://github.com/Lurker00/scrcpy>
x/server/scrcpy-server.jar: 1 file pushed. 1.4 MB/s (22546 bytes in 0.015s)
[server] ERROR: Exception on thread Thread[main,5,main]
java.lang.IllegalArgumentException: Expecting 6 parameters
    at com.genymobile.scrcpy.Server.createOptions(Server.java:71)
    at com.genymobile.scrcpy.Server.main(Server.java:132)
    at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
    at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:340)