[Toybox] NDK versions?

Rob Landley rob at landley.net
Tue Mar 5 10:13:37 PST 2019


I'm downloading the 19b Android NDK to upgrade my toybox test environment, and
wondering if there's an easy way to tell which version I had installed before?
(I want to mv /opt/android/x86_64 to one with the old version number in it).

It's not in the manifest file. It's not repo.prop... those are all git hashes. I
googled "how do I tell what android NDK version I have installed" and that found:

https://stackoverflow.com/questions/36623681/how-to-find-the-ndk-revision-number-for-your-android-setup

Which tells me to look in a file I haven't got in the installed version? The
next hit is:

https://gist.github.com/jorgenpt/1961404

Which is from 2012. Um...

$ bin/llvm-cc --version
Android (4751641 based on r328903) clang version 7.0.2
(https://android.googlesource.com/toolchain/clang
003100370607242ddd5815e4a043907ea9004281)
(https://android.googlesource.com/toolchain/llvm
1d739ffb0366421d383e04ff80ec2ee591315116) (based on LLVM 7.0.2svn)
Target: x86_64-none-linux-android28
Thread model: posix
InstalledDir: /opt/android/x86_64/bin

That's not mapping obviously to... 18b maybe? Is that what I installed last?

Am I missing something obvious again? (The tarball I installed it _from_ is long
gone...)

Rob



More information about the Toybox mailing list