Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error Compiling for Android (aarch64) #51366

Closed
Soft-Buddy opened this issue Jan 4, 2024 · 3 comments
Closed

Error Compiling for Android (aarch64) #51366

Soft-Buddy opened this issue Jan 4, 2024 · 3 comments
Labels
android Issues and PRs related to the android platform. build Issues and PRs related to build files or the CI. stale

Comments

@Soft-Buddy
Copy link

I've been lately trying to cross-compile NodeJS for Android (aarch64), but I'm facing an error in compilation.
Config :
NDK Path = ~/android-ndk-r26b
SDK Version = 24
Architecture = aarch64

Output :

 LD_LIBRARY_PATH=/home/rudra/nodejs-webx/out/Release/lib.host:/home/rudra/nodejs-webx/out/Release/lib.target:$LD_LIBRARY_PATH; export LD_LIBRARY_PATH; cd ../tools/icu; mkdir -p /home/rudra/nodejs-webx/out/Release/obj/gen; "/home/rudra/nodejs-webx/out/Release/icupkg" -tl ../../deps/icu-tmp/icudt74l.dat "/home/rudra/nodejs-webx/out/Release/obj/gen/icudt74l.dat"
/bin/sh: 1: /home/rudra/nodejs-webx/out/Release/icupkg: Exec format error
make[1]: *** [tools/icu/icudata.target.mk:13: /home/rudra/nodejs-webx/out/Release/obj/gen/icudt74l.dat] Error 126
make: *** [Makefile:134: node] Error 2
rudra@rudra:~/nodejs-webx$

It fails at this. Any help from the community is appreciated.

@MeowShe
Copy link
Contributor

MeowShe commented Feb 4, 2024

What's the args when you using android-configure?

@RedYetiDev RedYetiDev added build Issues and PRs related to build files or the CI. android Issues and PRs related to the android platform. labels Apr 28, 2024
@haotaoyanzhuce
Copy link

haotaoyanzhuce commented Sep 1, 2024

What is the architecture of the host platform you are using?Is the host architecture ARM?

@RedYetiDev RedYetiDev closed this as not planned Won't fix, can't repro, duplicate, stale Sep 1, 2024
@RedYetiDev
Copy link
Member

RedYetiDev commented Sep 1, 2024

Hey, @MeowShe asked a question, but never got a response, so I'm going to assume this is stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
android Issues and PRs related to the android platform. build Issues and PRs related to build files or the CI. stale
Projects
None yet
Development

No branches or pull requests

4 participants