Skip to content

Commit 1601482

Browse files
authored
Merge pull request #40 from AckeeDevOps/fix/revert-platform-tools
Fix missing platform-tools
2 parents 77e47f4 + 9aeedf1 commit 1601482

3 files changed

Lines changed: 7 additions & 0 deletions

File tree

CHANGELOG.MD

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v3.0.1] - 2026-03-04
8+
### Fixed
9+
- Fixed missing `platform-tools` in Android SDK installation. It turned out that AGP downloads them during build if missing
10+
and since they do not change much and we probably don't even use them, it makes more sense to put them to the image.
11+
712
## [v3.0.0] - 2026-02-17
813
### Changed
914
- Complete rewrite of Dockerfile using multi-stage build architecture (separate stages for Java, Android SDK, Danger, Git LFS)

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ RUN mkdir -p "$CMDLINE_TOOLS_PATH" && \
118118
# License is valid for all the standard components in versions installed from this file
119119
# Non-standard components: MIPS system images, preview versions, GDK (Google Glass) and Android Google TV require separate licenses, not accepted there
120120
RUN yes | sdkmanager --licenses
121+
RUN sdkmanager "platform-tools"
121122

122123

123124

image-test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ check_command_exists "sdkmanager"
8383
check_dir_writable "$ANDROID_HOME"
8484
check_dir "$ANDROID_HOME/cmdline-tools"
8585
check_dir "$ANDROID_HOME/licenses"
86+
check_dir "$ANDROID_HOME/platform-tools"
8687

8788
check_command_exists "danger"
8889
check_command_exists "danger-kotlin"

0 commit comments

Comments
 (0)