Jekso / AndroidTV-Remote-Controller

Effortlessly control your Android TV using Python and ADB
27 stars 3 forks source link

returned non-zero exit status 1 #2

Closed tomtao2022 closed 14 minutes ago

tomtao2022 commented 21 hours ago

Starting ADB server...

😎 ADB server is started.

💡 Connecting to 192.168.31.68 ...

💡 Getting connected devices...

💡 There are 1 connected devices.

😎 Device: 192.168.31.68:5555 is connected successfully.

😎 Device: 192.168.31.68 is connected.

['adb', '-s', '192.168.31.68:5555', 'shell', 'input', 'keyevent', 'KEYCODE_VOLUME_UP']

File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/subprocess.py", line 577, in run raise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['adb', '-s', '192.168.31.68:5555', 'shell', 'input', 'keyevent', 'KEYCODE_VOLUME_UP']' returned non-zero exit status 1.

Jekso commented 7 hours ago

Can you use this command in external terminal and give me the result ` **adb -s '192.168.31.68:5555' shell input keyevent 'KEYCODE_VOLUME_UP`**'

tomtao2022 commented 5 hours ago

Found reason Device is not open adb debug mode

Get Outlook for iOShttps://aka.ms/o0ukef


From: Jekso.Senpai @.> Sent: Wednesday, November 20, 2024 6:15:40 AM To: Jekso/AndroidTV-Remote-Controller @.> Cc: tomtao2022 @.>; Author @.> Subject: Re: [Jekso/AndroidTV-Remote-Controller] returned non-zero exit status 1 (Issue #2)

Can you use this command in external terminal and give me the result `` adb -s '192.168.31.68:5555' shell input keyevent 'KEYCODE_VOLUME_UP'

— Reply to this email directly, view it on GitHubhttps://github.com/Jekso/AndroidTV-Remote-Controller/issues/2#issuecomment-2486862289, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2JKLTPQBO64PINOEUWJDLL2BO2AZAVCNFSM6AAAAABSBOIVGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWHA3DEMRYHE. You are receiving this because you authored the thread.Message ID: @.***>