Error when starting the Android Server

7 posts / 0 new
Last post
wialmonca
Error when starting the Android Server

Hello,

I just found out this app while looking for a way to use my USB controllers while game streaming.

I installed the app in my Minix U1 and when I started it, an error message popped up and I think the app is unusable.
The beginning of the message says:

Error running exec(). Command: [/data/data/com.virtualhere.androidserver/vhusbdan, -r, stdout, -a, unknown, -e, 3.14.29] Working Directory: null Environment: [...]

I don't know where are the app logs, in System Messages I can't see anything suspicious. The only thing I see out of place is the null in the Working Directory.

Do you have any idea what is going on? I see a lot of variables in the environment if you need the value of any of them please let me know.

Thanks!

Michael
.

I havent seen that error before, but i think its not the actual error, i think the actual error is another stacktrace which should be below that one e.g https://stackoverflow.com/questions/37867122/error-running-exec-command

Can you see any "Caused by" stacktrace below that one in the log

wialmonca
There is no more information

There is no more information on the popup message, there is no even an ok button, and it closes fast, to be able to read it I had to take a picture of it.

https://drive.google.com/open?id=0BwR5BdCzBvzOekE1TWR4VmhLam8

Do you know if this is logged somewhere else?

wialmonca
This is what I can see on the

This is what I can see on the System Messages:

--------- beginning of main
D/OpenGLRenderer( 8040): Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/Atlas ( 8040): Validating map...
I/OpenGLRenderer( 8040): Initialized EGL, version 1.4
D/OpenGLRenderer( 8040): Enabling debug mode 0
E/vhusbd-service( 8040): Opening local exception: Connection refused
V/RenderScript( 8040): 0xab485ae8 Launching thread(s), CPUs 4
I/ListPopupWindow( 8040): Could not find method setEpicenterBounds(Rect) on PopupWindow. Oh well.
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.
--------- beginning of system
W/ViewRootImpl( 8040): Dropping event due to root view being removed: MotionEvent { action=ACTION_HOVER_ENTER, id[0]=0, x[0]=147.66089, y[0]=31.30838, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5944270, downTime=5944158, deviceId=7, source=0x2002 }
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.
W/ViewRootImpl( 8040): Dropping event due to root view being removed: MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=147.66089, y[0]=31.30838, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5944270, downTime=5944158, deviceId=7, source=0x2002 }
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.
W/ViewRootImpl( 8040): Dropping event due to root view being removed: MotionEvent { action=ACTION_HOVER_ENTER, id[0]=0, x[0]=65.927, y[0]=12.835669, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5968280, downTime=5968112, deviceId=7, source=0x2002 }
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.
W/ViewRootImpl( 8040): Dropping event due to root view being removed: MotionEvent { action=ACTION_HOVER_MOVE, id[0]=0, x[0]=65.927, y[0]=12.835669, toolType[0]=TOOL_TYPE_MOUSE, buttonState=0, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=5968280, downTime=5968112, deviceId=7, source=0x2002 }
W/InputEventReceiver( 8040): Attempted to finish an input event but the input event receiver has already been disposed.

When the popup appears, the last line is the one with the method not found (line 8).

Michael
.

Ok unfortunately there is no more info about the error in the log so im not sure of the problem...i dont think virtualhere will work on that particular device

wialmonca
I rooted the device and

I rooted the device and installed an app to track the system log, here it is all that it took, I can see an NPE and a "missing" Resource ID. I hope this sheds some light on the issue.


10-07 23:57:54.710 E/MountService(3262): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.storage.StorageVolume.getPath()' on a null object reference
10-07 23:58:09.627 I/ActivityManager(3262): START u0 {act=android.hardware.usb.action.USB_DEVICE_ATTACHED flg=0x10000000 cmp=com.virtualhere.androidserver/.UsbEvent (has extras)} from uid 10020 on display 0
10-07 23:58:09.632 V/WindowManager(3262): addAppToken: AppWindowToken{32cc443 token=Token{33b595f2 ActivityRecord{2ba2f4fd u0 com.virtualhere.androidserver/.UsbEvent t18}}} to stack=1 task=18 at 0
10-07 23:58:09.702 I/ActivityManager(3262): Start proc 4746:com.virtualhere.androidserver/u0a78 for activity com.virtualhere.androidserver/.UsbEvent
10-07 23:58:17.162 I/ActivityManager(3262): Killing 4746:com.virtualhere.androidserver/u0a78 (adj 15): empty #17
10-07 23:58:23.635 I/ActivityManager(3262): Start proc 5827:com.virtualhere.androidserver/u0a78 for broadcast com.virtualhere.androidserver/.BootReceiver
10-07 23:58:27.018 V/[SourceFile:292 a] createvi(5717): virtual connection is: {ParcelFileDescriptor: FileDescriptor[57]}
10-07 23:58:32.751 I/ActivityManager(3262): Killing 5827:com.virtualhere.androidserver/u0a78 (adj 15): empty #17
10-08 00:00:24.161 I/SystemControl(2941): Matched uevent message with pattern: DEVPATH=/devices/virtual/switch/hdmi
10-08 00:00:24.165 V/WiredAccessoryManager(3262): Headset UEVENT: {SUBSYSTEM=switch, SEQNUM=2830, ACTION=change, SWITCH_STATE=0, SWITCH_NAME=hdmi, DEVPATH=/devices/virtual/switch/hdmi}
10-08 00:00:25.342 I/SystemControl(2941): Matched uevent message with pattern: DEVPATH=/devices/virtual/switch/hdmi
10-08 00:00:25.350 V/WiredAccessoryManager(3262): Headset UEVENT: {SUBSYSTEM=switch, SEQNUM=2831, ACTION=change, SWITCH_STATE=0, SWITCH_NAME=hdmi, DEVPATH=/devices/virtual/switch/hdmi}
10-08 00:02:08.944 I/SystemControl(2941): Matched uevent message with pattern: DEVPATH=/devices/virtual/switch/hdmi
10-08 00:02:08.951 V/WiredAccessoryManager(3262): Headset UEVENT: {SUBSYSTEM=switch, SEQNUM=2832, ACTION=change, SWITCH_STATE=0, SWITCH_NAME=hdmi, DEVPATH=/devices/virtual/switch/hdmi}
10-08 00:02:10.103 I/SystemControl(2941): Matched uevent message with pattern: DEVPATH=/devices/virtual/switch/hdmi
10-08 00:02:10.117 V/WiredAccessoryManager(3262): Headset UEVENT: {SUBSYSTEM=switch, SEQNUM=2833, ACTION=change, SWITCH_STATE=0, SWITCH_NAME=hdmi, DEVPATH=/devices/virtual/switch/hdmi}
10-08 00:04:34.060 I/ActivityManager(3262): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.virtualhere.androidserver cmp=com.virtualhere.androidserver/.GUI} from uid 10073 on display 0
10-08 00:04:34.070 V/WindowManager(3262): addAppToken: AppWindowToken{15eaf542 token=Token{29ffff8d ActivityRecord{10f2e824 u0 com.virtualhere.androidserver/.GUI t27}}} to stack=1 task=27 at 0
10-08 00:04:34.085 V/WindowManager(3262): Adding window Window{16729345 u0 Starting com.virtualhere.androidserver} at 4 of 16 (after Window{36c9ee49 u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity})
10-08 00:04:34.153 I/ActivityManager(3262): Start proc 7173:com.virtualhere.androidserver/u0a78 for activity com.virtualhere.androidserver/.GUI
10-08 00:04:34.509 V/WindowManager(3262): Adding window Window{1d37d7b5 u0 com.virtualhere.androidserver/com.virtualhere.androidserver.GUI} at 4 of 17 (before Window{16729345 u0 Starting com.virtualhere.androidserver})
10-08 00:04:34.667 I/ActivityManager(3262): Displayed com.virtualhere.androidserver/.GUI: +558ms
10-08 00:04:37.501 W/PackageManager(3476): Failure retrieving resources for com.virtualhere.androidserver: Resource ID #0x0
10-08 00:04:38.531 W/PackageManager(3476): Failure retrieving resources for com.virtualhere.androidserver: Resource ID #0x0
10-08 00:06:55.802 V/WindowManager(3262): Adding window Window{3fcf39e9 u0 PopupWindow:8bd3fe0} at 5 of 18 (after Window{1d37d7b5 u0 com.virtualhere.androidserver/com.virtualhere.androidserver.GUI})
10-08 00:06:58.319 W/PackageManager(3476): Failure retrieving resources for com.virtualhere.androidserver: Resource ID #0x0
10-08 00:07:00.201 I/ActivityManager(3262): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.virtualhere.androidserver cmp=com.virtualhere.androidserver/.GUI} from uid 10073 on display 0
10-08 00:07:00.205 V/WindowManager(3262): addAppToken: AppWindowToken{e7ac4cd token=Token{33b47a64 ActivityRecord{3949bbf7 u0 com.virtualhere.androidserver/.GUI t28}}} to stack=1 task=28 at 0
10-08 00:07:00.222 V/WindowManager(3262): Adding window Window{3252b1fc u0 Starting com.virtualhere.androidserver} at 4 of 17 (after Window{36c9ee49 u0 com.nolanlawson.logcat/com.nolanlawson.logcat.LogcatActivity})
10-08 00:07:00.306 V/WindowManager(3262): Adding window Window{10e9e001 u0 com.virtualhere.androidserver/com.virtualhere.androidserver.GUI} at 4 of 18 (before Window{3252b1fc u0 Starting com.virtualhere.androidserver})
10-08 00:07:00.513 I/ActivityManager(3262): Displayed com.virtualhere.androidserver/.GUI: +302ms
10-08 00:07:02.484 W/PackageManager(3476): Failure retrieving resources for com.virtualhere.androidserver: Resource ID #0x0
10-08 00:07:03.514 W/PackageManager(3476): Failure retrieving resources for com.virtualhere.androidserver: Resource ID #0x0

Michael
.

I dont think its going to work, that android box seems to not be standard as it gives strange errors "failed retrieving resources..."

Log in or register to post comments