Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

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

Open
hoflz5 opened this issue Dec 1, 2021 · 3 comments
Open

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

hoflz5 opened this issue Dec 1, 2021 · 3 comments

Comments

@hoflz5
Copy link

hoflz5 commented Dec 1, 2021

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
Copy link
Author

hoflz5 commented Dec 1, 2021

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.

@wongqingbin
Copy link

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

@wongqingbin
Copy link

@hoflz5

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants