-
Notifications
You must be signed in to change notification settings - Fork 3.7k
side-by-side NDK installed as the "(obsolete)" NDK #2689
Description
Honestly, when reading some of your messages on #2481, I was concerned you were going to think you could do this (lol ;P). The files in the Android SDK are managed by a package manager, and the side-by-side NDK is not exactly the same managed object as the NDK package.
As far as I'm concerned, the correct strategy to is to just not install ndk-bundle and instead just install the intended side-by-side NDK for the LTS. Like, I'm pretty sure the NDK package--the one that goes in ndk-bundle--is literally marked as "Obsolete": do we really need it? ;P
This is causing warnings during install of side-by-side packages, but might also (I'm not sure: I was going to finish investigating this today and then type up a better bug report, but I accidentally hit enter on the title field and that apparently caused the issue to submit) be causing errors installing side-by-side NDKs?
Since I'm getting this SSL error also, I'm not sure (and now my mac builds are all just being queued and aren't going through so I can't even test this this morning to try to better isolate what is happening, but I've been getting this install error over the course of three days now).
Run echo y | sudo -EH "${ANDROID_HOME}/tools/bin/sdkmanager" "ndk;21.3.6528147" >/dev/null
Warning: Observed package id 'ndk;21.4.7075529' in inconsistent location '/Users/runner/Library/Android/sdk/ndk-bundle' (Expected '/Users/runner/Library/Android/sdk/ndk/21.4.7075529')
Warning: Observed package id 'ndk;21.4.7075529' in inconsistent location '/Users/runner/Library/Android/sdk/ndk-bundle' (Expected '/Users/runner/Library/Android/sdk/ndk/21.4.7075529')
Warning: javax.net.ssl.SSLException: readHandshakeRecord
Warning: File /var/root/.android/repositories.cfg could not be loaded.
Warning: Failed to find package ndk;21.3.6528147
Error: Process completed with exit code 1.