alvr-org / ADBForwarder

Console application designed to handle ADB commands necessary to enable wired streaming with ALVR
MIT License
19 stars 3 forks source link

error 255 on laucnh #3

Open testc2n14 opened 4 months ago

testc2n14 commented 4 months ago

this is the rror i get when running from terminal

Platform: Linux
Starting ADB Server...
Unhandled exception. SharpAdbClient.Exceptions.AdbException: The adb process returned error code 255 when running command start-server
   at SharpAdbClient.AdbCommandLineClient.RunAdbProcess(String command, List`1 errorOutput, List`1 standardOutput)
   at SharpAdbClient.AdbCommandLineClient.StartServer()
   at SharpAdbClient.AdbServer.StartServer(String adbPath, Boolean restartServerIfNewer)
   at ADBForwarder.Program.Main()
Aborted (core dumped)
c2n14@fedora:~$ 
RealMoosey commented 3 months ago

Currently getting this error when trying to start. Was there a fix to this somewhere?

testc2n14 commented 3 months ago

i don't rember what i did give me some time to check

RealMoosey commented 3 months ago

Found out it spits out the error when i plug in the headset with the usb, if that helps :)

testc2n14 commented 3 months ago

affter joigging my emmeory i think it;s a timing issue i rember having to have my q3 headset on the desk so i could put it on so i could accpect the prompt fast enough, that might have been becuase of soemthing else tho

testc2n14 commented 3 months ago

yeah affter checking i made this .sh file for the adb thingy prolly becuase i was sick of it not working

#!/usr/bin/env bash
cd /home/c2n14/drives/bulkstorage/Downloads/"New Folder"
adb start-server
adb forward tcp:9943 tcp:9943
adb forward tcp:9944 tcp:9944
printf "Press return to exit..." && read -r
adb kill-server
Meister1593 commented 2 months ago

Not sure if i understand root cause, definitely need more info

Meister1593 commented 2 months ago

Can someone of you who had this issue try latest build again and see if it works? https://github.com/alvr-org/ADBForwarder/actions/runs/10403243630/artifacts/1815453943

RealMoosey commented 2 months ago

Sadly im not on my linux os for now. But i can tell you the error went away the moment i installed ADB via the synaptic package manager.

Stonley890 commented 2 months ago

Can someone of you who had this issue try latest build again and see if it works? https://github.com/alvr-org/ADBForwarder/actions/runs/10403243630/artifacts/1815453943

This starts correctly on Linux Mint 22.

wereretot commented 2 months ago

It throws this error when running on Manjaro Linux

You must install .NET to run this application.

App: /home/rexommendation/Programs/ADBForwarder-linux-x64/ADBForwarder Architecture: x64 App host version: 8.0.8 .NET location: Not found

Learn more: https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime: https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linux-x64&os=manjaro&apphost_version=8.0.8

Meister1593 commented 2 months ago

It throws this error when running on Manjaro Linux

You must install .NET to run this application.

App: /home/rexommendation/Programs/ADBForwarder-linux-x64/ADBForwarder Architecture: x64 App host version: 8.0.8 .NET location: Not found

Learn more: https://aka.ms/dotnet/app-launch-failed

Download the .NET runtime: https://aka.ms/dotnet-core-applaunch?missing_runtime=true&arch=x64&rid=linux-x64&os=manjaro&apphost_version=8.0.8

Is this full log?

wereretot commented 2 months ago

Yeah, it's what the application throws when I attempt to run https://github.com/alvr-org/ADBForwarder/actions/runs/10403243630/artifacts/1815453943