Update NDK to 26.0.10792818 (#17852)

### Description
Update NDK to 26.0.10792818 which is included in every macOS build
machine so that we do not need to download a different version every
time in every build.

### Motivation and Context
Downloading NDK on-the-fly is a main contributor of Android related
build failures.
This commit is contained in:
Changming Sun 2023-10-12 14:08:43 -07:00 committed by GitHub
parent 163218d6d7
commit 3f3ece4a39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -186,7 +186,7 @@ void LoopDataFile(int test_data_pb_fd, bool is_input, const TestModelInfo& model
f.SetCloseOnDelete(true);
google::protobuf::io::CodedInputStream coded_input(&f);
bool clean_eof = false;
int item_id = 1;
[[maybe_unused]] int item_id = 1;
for (proto::TraditionalMLData data;
ParseDelimitedFromCodedStream(&data, &coded_input, &clean_eof);
++item_id, data.Clear()) {

View file

@ -55,7 +55,7 @@ WORKDIR /workspace
# install Android SDK and tools
ENV ANDROID_HOME=~/android-sdk
ENV NDK_VERSION=25.0.8775105
ENV NDK_VERSION=26.0.10792818
ENV ANDROID_NDK_HOME=${ANDROID_HOME}/ndk/${NDK_VERSION}
RUN aria2c -q -d /tmp -o cmdline-tools.zip \

View file

@ -3,7 +3,7 @@
parameters:
- name: AndroidNdkVersion
type: string
default: "25.0.8775105" # LTS version
default: "26.0.10792818" # LTS version
steps:
- bash: |