-
Notifications
You must be signed in to change notification settings - Fork 244
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
Android on Linux compiler configuration error #167
Comments
It is better not to use Android emulation X86 architecture to compile, because it is very inefficient and error-prone, it is recommended to use CI to assist your compilation |
I'm running Ubuntu on a Windows host, not via Android termux. |
Try the following command, recommended for Ubuntu 20.04 or 22.04
|
Thanks, I'll give it a try |
The same problem remains, here's a build log. |
Do you have the project setup correctly to export to android? I have this small modification I want to try and I'd really appreciate it if you can build it for me |
Well, i should update wiki and workflow scripts. I don't using gcc from ndk to build anymore |
Following the instructions mentioned in this Fork |
https://github.com/nillerusr/srceng-android |
I couldn't find build instructions, so I tried following the GitHub build action by using these commands. Which gave me this error: No jni/ directory exists in the srceng-android directory. |
I just noticed that the Github action specifies the |
I just managed to build the |
andriod-fixes
The default branch "Android-fixrs" is the new port starter. |
Alright, so I managed to build the
I noticed that the official APK has that |
./waf -h |
@Moe-Baker |
Hello,
I'm using Ubuntu 16.04.6 32bit in VirtualBox, I followed the how to build instructions and I managed to build for Linux successfully, but android builds are giving me a compiler configuration error.
I'm using:
-gcc v5.4.0
-g++ v5.4.0
-clang v3.8.0-2
Here's the build log: https://pastebin.com/fqvRicQe.
The problem seems to be with the Android NDK, I downloaded android-ndk-r10e-linux-x86_64.zip as instructed, decompressed the files, ran
chmod +x /ANDROID_NDK_DIRECTORY -R
.I'm noticing that the build script is looking for a folder that doesn't exist in my Android NDK, specifically:
android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86
I have
android-ndk-r10e/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64
Instead, did I download the wrong NDK, do I need to further setup the NDK?
Thank you for your time.
The text was updated successfully, but these errors were encountered: