(even betas should have source.properties because it's actually used by Studio.)
are you sure this is even an NDK? is this maybe a standalone toolchain you generated from an NDK? anyway, pasting "4751641 based on r328903" into Google gets me https://github.com/android-ndk/ndk/issues/866 which says 18.1.5063045 which you can also paste into Google and get https://github.com/android-ndk/ndk/issues/852 which says r18b. but if you really don't have those files, you probably have a standalone toolchain rather than an NDK. luckily r19 makes standalone toolchains mostly unnecessary --- the clang driver can now configure most things correctly from the target triple. (last few fixes in r20, coming soon.) On Tue, Mar 5, 2019 at 11:00 AM enh <[email protected]> wrote: > > if you really have an NDK so old that it doesn't have the new world > source.properties nor the old RELEASE.TXT ... just delete it? > > are you sure you don't have either of those files? > > On Tue, Mar 5, 2019 at 10:14 AM Rob Landley <[email protected]> wrote: > > > > 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 > > _______________________________________________ > > Toybox mailing list > > [email protected] > > http://lists.landley.net/listinfo.cgi/toybox-landley.net _______________________________________________ Toybox mailing list [email protected] http://lists.landley.net/listinfo.cgi/toybox-landley.net
