atx-agent icon indicating copy to clipboard operation
atx-agent copied to clipboard

AtxAgent stopped, atx-agent: not executable: 32-bit ELF file

Open hoflz5 opened this issue 3 years ago • 3 comments

I'm having trouble starting the AtxAgent: Screenshot 2021-12-01 at 21 28 48

Trying to start the atx server from command line: adb shell /data/local/tmp/atx-agent server --nouia --addr :7912 Gives: /system/bin/sh: /data/local/tmp/atx-agent: not executable: 32-bit ELF file

I'm running this from Android Studio on an M1 Mac mini (Arm). I'm emulating a Pixel 2 with Android 10 for arm64 v8a. I have also tried Android 11, 12 and Sv2 and get the same error. Is this related to using arm64 v8a? v7 is not available on the M1 Mac.

hoflz5 avatar Dec 01 '21 20:12 hoflz5

This error was due to the atx-agent not being compiled for arm64 v8. I downloaded the source and compiled it then pushed to the emulator and now it works.

hoflz5 avatar Dec 01 '21 21:12 hoflz5

手动修改编译支持arm64 v8有修改教程吗?

wongqingbin avatar Nov 12 '22 04:11 wongqingbin

@hoflz5

手动修改编译支持arm64 v8有修改教程吗?

wongqingbin avatar Nov 12 '22 04:11 wongqingbin