atx-agent
atx-agent copied to clipboard
AtxAgent stopped, atx-agent: not executable: 32-bit ELF file
I'm having trouble starting the AtxAgent:
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.
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.
手动修改编译支持arm64 v8有修改教程吗?
手动修改编译支持arm64 v8有修改教程吗?