-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Version 1.11 for windows, Abort #944
Comments
|
1 - Yes, 1.10 still work still work great. |
Your device might expect the file to have an extension 😕 Just to be sure about permissions, what is the result of:
|
|
Let's keep the diffdiff --git a/app/src/server.c b/app/src/server.c
index b37b39d..6061b8b 100644
--- a/app/src/server.c
+++ b/app/src/server.c
@@ -16,7 +16,7 @@
#define SERVER_FILENAME "scrcpy-server"
#define DEFAULT_SERVER_PATH PREFIX "/share/scrcpy/" SERVER_FILENAME
-#define DEVICE_SERVER_PATH "/data/local/tmp/" SERVER_FILENAME
+#define DEVICE_SERVER_PATH "/data/local/tmp/scrcpy-server.jar"
static const char *
get_server_path(void) {
@@ -124,7 +124,7 @@ execute_server(struct server *server, const struct server_params *params) {
sprintf(max_fps_string, "%"PRIu16, params->max_fps);
const char *const cmd[] = {
"shell",
- "CLASSPATH=/data/local/tmp/" SERVER_FILENAME,
+ "CLASSPATH=" DEVICE_SERVER_PATH,
"app_process",
#ifdef SERVER_DEBUGGER
# define SERVER_DEBUGGER_PORT "5005"
diff --git a/server/src/main/java/com/genymobile/scrcpy/Server.java b/server/src/main/java/com/genymobile/scrcpy/Server.java
index ad14e5d..26ef285 100644
--- a/server/src/main/java/com/genymobile/scrcpy/Server.java
+++ b/server/src/main/java/com/genymobile/scrcpy/Server.java
@@ -7,7 +7,7 @@ import java.io.IOException;
public final class Server {
- private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server";
+ private static final String SERVER_PATH = "/data/local/tmp/scrcpy-server.jar";
private Server() {
// not instantiable
Does it fix the problem? |
oooohhh, yeahh, it's work again |
Fixed by 83ace84 on |
I can run it,But you can only use the command. / run x, and scrcpy fails |
Sorry, I don't understand. If you compile the |
@cotteux What was your device? (and which Android version) |
Acer Liquid Z630 with Android 5.1 |
OK, thanks, so it seems related to Android 5.1 (like #949). |
The same problem here on Ubuntu 18.04. Model: ASUS_X00BD, Android version: 5.1.1. With snap --edge channel (v1.11-7-g2b84568) connection working. |
Everything work great with the version 1.10 but since the 1.11 version , I have this error:
I check with adb shell to see if the file is in /data/local/tmp and it's here.
I try on 2 different computers, same error. mi phone is a Acer Liquid Z630
my adb logcat
The text was updated successfully, but these errors were encountered: