Android Native Development Kit (NDK) OCI image including CMake based on
Docker image saschpe/android-sdk
.
The following JDK and Android SDK API level combinations are currently available:
11 | 17 | 21 | 22 | |
---|---|---|---|---|
31 | ✅ | ✅ | ||
32 | ✅ | ✅ | ✅ | ✅ |
33 | ✅ | ✅ | ✅ | ✅ |
34 | ✅ | ✅ | ✅ | ✅ |
35 | ✅ | ✅ | ✅ |
- Android 35 image NDK versions: 26.2.11394342 and 27.0.12077973
- Older Android image NDK versions: 25.2.9519653 and 26.2.11394342
- CMake version: 3.22.1
Use like you would any other base image:
FROM saschpe/android-ndk
RUN sdkmanager --install emulator
These scripts simplify various tasks related to container building and publishing:
./scripts/build --help
Copyright 2017 Sascha Peilicke
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.