-
Notifications
You must be signed in to change notification settings - Fork 4
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 cross-compilation issue #3
Comments
These above "not an object file" errors follow a variety of these build warnings:
|
Probably related to updating Xcode and/or macOS |
Interesting. Would you suggest using an earlier version of Xcode CLI tools? |
Tried with clang 13.0.0 (Xcode 13) to no avail. |
What is strange is that I can However within the Android native-module build stage, it fails. I created a shell script to rebuild leveldown for armeabi-v7a, as occurs within the Android native build process... So it's very easy to run by itself and hit this failure (takes only 15 seconds):
|
When you run node-gyp rebuild it is not compiling for Android, is compiling for macOS, that's why it worked. |
Hi @staltz, we are still having trouble with this Android native module build, a month later. :( Have you had success compiling leveldown from a Mac recently? |
@jrmeurer Okay, let's start over: Please provide some version information, such as
For example, for me they show
and
|
I managed to compile leveldown-nodejs-mobile for Android on my macOS, so this indicates your issue is probably a problem of configuration or incompatible versions of some software. react-native info
nodejs-mobile0.3.3 leveldown-nodejs-mobile5.4.1-1 Repo |
After successful building for months, we are hitting a new cross-compilation build error on multiple machines, while building leveldown-nodejs-mobile (and leveldown) as a native module across all Android architectures.
Wondering if anyone has seen this, or has any ideas for debugging?
The text was updated successfully, but these errors were encountered: