-
Notifications
You must be signed in to change notification settings - Fork 565
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
Warning: unable to strip library #3063
Comments
More compile warnings, these seem a bit worse:
Note: This seems the result of upgrading to React Native 0.63 UPDATE: Looks like upgrading the Android NDK version (from Android studio) removes the warning. Still investigating if new issues are added after this update. |
@cristianoccazinsp Please tell us which NDK version you are using. Moreover, do you see the issue if Realm is not included? |
As far as I know, I didn't install any NDK, so the version installed probably was downloaded automatically (with Android studio 3.x ?). After realizing this, I installed the "side-by-side NDK" from Android studio (version 21.3.6528147) and the warning went away. |
We are a bit picky when it comes to NDK - mostly because we are linking against OpenSSL, Realm Core and Realm Sync. |
Can anyone solve these problem? |
I just did a fresh install and also got these lines Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libfbjni.so' due to missing strip tool for ABI 'X86'. Packaging it as is
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libreactnativeblob.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libhermes-inspector.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libreactnativejni.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libnative-filters.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libjscexecutor.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libfolly_futures.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libfolly_json.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libhermes-executor-release.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libhermes-executor-debug.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libimagepipeline.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libjsijniprofiler.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libglog_init.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86/libjsinspector.so' due to missing strip tool for ABI 'X86'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libc++_shared.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libglog.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libnative-imagetranscoder.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libhermes-executor-debug.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libjsc.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libimagepipeline.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libfb.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libjsinspector.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libyoga.so' due to missing strip tool for ABI 'ARMEABI_V7A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libc++_shared.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libhermes-inspector.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libreactnativejni.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libglog.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libjscexecutor.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libfolly_futures.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libfolly_json.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libhermes-executor-release.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libhermes-executor-debug.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libjsc.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libimagepipeline.so' due to missing strip tool for ABI 'X86_64'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libc++_shared.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libfbjni.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libreactnativeblob.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libhermes-inspector.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libreactnativejni.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libglog.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libnative-filters.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libjscexecutor.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libfolly_futures.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libjsijniprofiler.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libglog_init.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
Unable to strip library '.../android/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libjsinspector.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is. |
@kneth Why is this closed? |
It was closed because the issue for the reporter was resolved. Please see how in his latest response. |
Same here.. updated Android Studio and ... Execution failed for task ':realm:stripDebugDebugSymbols'.
Installing all NDKs did not work |
@sugaith You might have missed to set up the required environment variables. See https://github.com/realm/realm-js/blob/master/contrib/building.md#instructions-for-macos for an introduction to set up your environment. |
Goals
Compile for Android
Expected Results
No warnings
Actual Results
Warning received:
Seems harmless, but would like to know if we can get rid of it any time soon.
Steps to Reproduce
Just build
Code Sample
Version of Realm and Tooling
The text was updated successfully, but these errors were encountered: