-
-
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
[Amazon FireTV Stick] No Window open after Startup #932
Comments
Is the device a Meizu? If yes: #888 (comment) |
No the device is a Amazon FireTV Stick Rev.1 |
Could you please still test the jar from #888 (comment)? If this does not work, please paste the output of |
adb.log thx starts with this error:
The Log doesnt end...^^ |
Hmm, so the device does not return any display info. Let's use a fake one not to crash: diff --git a/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java b/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
index 568afac..3e0651b 100644
--- a/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
+++ b/server/src/main/java/com/genymobile/scrcpy/wrappers/DisplayManager.java
@@ -13,6 +13,8 @@ public final class DisplayManager {
}
public DisplayInfo getDisplayInfo() {
+ // return fake display info
+ if (true) return new DisplayInfo(new Size(800, 600), 0);
try {
Object displayInfo = manager.getClass().getMethod("getDisplayInfo", int.class).invoke(manager, 0);
Class<?> cls = displayInfo.getClass();
(replace it in your v1.10 directory) Does it work? |
|
OK, let's also bypass this. diff --git a/server/src/main/java/com/genymobile/scrcpy/wrappers/WindowManager.java b/server/src/main/java/com/genymobile/scrcpy/wrappers/WindowManager.java
index 56330f9..6d54213 100644
--- a/server/src/main/java/com/genymobile/scrcpy/wrappers/WindowManager.java
+++ b/server/src/main/java/com/genymobile/scrcpy/wrappers/WindowManager.java
@@ -26,6 +26,7 @@ public final class WindowManager {
}
public void registerRotationWatcher(IRotationWatcher rotationWatcher) {
+ if (true) return;
try {
Class<?> cls = manager.getClass();
try {
(if it "works", you should see the top-left 800x600 part of the screen) |
and again... :-( |
OK, it seems the device does not behave like a "normal" Android device:
Maybe we could adapt to avoid crashing and make it "work" in a degraded way, but I'm not even sure. Anyway, it would require investigations with the device, so if someone have the device and is comfortable in Java to investigate… your help is welcome. |
I'm surprised that you get this, given that retrieving the display info crashes the server: #932 (comment) |
ok, thanks a lot. "IF" I have a solution i will be edit or leave a comment sry, typo mistake |
❓ |
Scrcpy works fine on Firestick 4K, it should also work fine on regular firestick. |
Still not working on a Firestick V1 |
Bump, as it still not working for Firestick v1, I'm willing to test, debug, etc... |
not working for redroid . any solution?
|
nothing more!
any solution? Why?
The text was updated successfully, but these errors were encountered: