-
Notifications
You must be signed in to change notification settings - Fork 279
[Bug]: lldb.sh doesn't work if NDK is placed in path that contains spaces #2144
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
Comments
Not discounting this bug, but FYI you're probably better off getting the NDK from the SDK manager in Studio. This has probably always been broken, but until I've confirmed that, triaging to r27 and r28 as well. If it's not a regression from r26, we'll opportunistically cherry-pick a fix for r28c and r27d if those releases happen, but we won't spin up new releases for them. I also haven't confirmed this for r29. I'll try to confirm that soon. If it is a problem, it's very nearly too late for us to get more fixes into this release, but we'll try. |
the same issue would happen if I happen to have a space in my ANDROID_HOME path, of course |
True, though some NDK components (ndk-build, specifically) explicitly do not support being installed to paths with spaces in them. The reason I recommend the SDK manager over the app bundle is that Apple doesn't really support app bundles in a format we need. That's going to be a non-standard workflow until Apple supports notarizing arbitrary zip files of executables with symlinks and rpaths. |
@pirama-arumuga-nainar, it looks like I probably will be making an r28c, so it'd be nice if we could include a fix for this. |
Changing the first line of
fixes the issue locally. I need to test it doesn't break on Linux. |
Bug: android/ndk#2144 Test: copy clang prebuilts into a path with spaces and run lldb.sh Change-Id: I538187a200cb5ea29ff1af2ebfb6b05e28fb4c3f
Description
to reproduce:
Upstream bug
No response
Commit to cherry-pick
No response
I am using a supported NDK
Affected versions
r28, r27
Host OS
Mac
Host OS version
macOS 14.7.5
Affected ABIs
x86_64, x86, arm64-v8a, armeabi-v7a
The text was updated successfully, but these errors were encountered: