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

how to use #3

Open
lambert123456 opened this issue May 29, 2022 · 2 comments
Open

how to use #3

lambert123456 opened this issue May 29, 2022 · 2 comments

Comments

@lambert123456
Copy link

I also tried to build this project with Flutter. I set the key and IP, but no pictures appeared. Could you give me a detailed tutorial

@diyews
Copy link
Owner

diyews commented May 29, 2022

  1. Did you start the server.jar
  2. Then check if server running. see

@dilwarSingh
Copy link

I am also not able to use your app

steps I followed:

Step 1:
adb push ./scrcpy-server-flutter.jar /sdcard/scrcpy-server-flutter.jar
Output
image

Step 2:
adb shell CLASSPATH=/sdcard/scrcpy-server-flutter.jar nohup app_process / --nice-name=scrcpy_device_server com.genymobile.scrcpy.Server alrothd86390dlo0 error 0 8000000 0 -1 true - true true 0 false false - - false >/dev/null 2>&1 &

Output
image

Step 3:
I run Flutter application and added key = alrothd86390dlo0
the click on + button and added ip of Mobile phone.
image

I tried troubleshoot as well

after executing adb shell "ps -A | grep scrcpy_device_server"
Output
image

and after executing this
adb shell CLASSPATH=/sdcard/scrcpy-server-flutter.jar nohup app_process / --nice-name=scrcpy_device_server com.genymobile.scrcpy.Server <16_char_key> error 0 8000000 0 -1 true - true true 0 false false - - false

Output:
image

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

3 participants