Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

SDK tools, Platform Tools and Emulator versions added to system_report.sh #96

Merged
merged 2 commits into from
Jul 14, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## `v2017_07_13_1`

* SDK tools, Platform Tools and Emulator versions added to `system_report.sh` : https://github.com/bitrise-docker/android/pull/96
* new preinstalled package: `emulator`

## `v2017_07_12_1`

* SDK tools updated to 26.0.2 : https://github.com/bitrise-docker/android/pull/95
Expand Down
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ RUN echo 8933bad161af4178b1185d1a37fbf41ea5269c55 > ${ANDROID_HOME}/licenses/and
# Platform tools
RUN sdkmanager "platform-tools"

# Emulator
RUN sdkmanager "emulator"

# SDKs
# Please keep these in descending order!
RUN sdkmanager "platforms;android-26"
Expand Down Expand Up @@ -166,5 +169,5 @@ ENV LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${ANDROID_HOME}/tools/lib64
# Cleaning
RUN apt-get clean

ENV BITRISE_DOCKER_REV_NUMBER_ANDROID v2017_06_10_1
ENV BITRISE_DOCKER_REV_NUMBER_ANDROID v2017_07_13_1
CMD bitrise -version
10 changes: 10 additions & 0 deletions system_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@ which adb
echo
echo " * adb version:"
adb version
echo
echo " * SDK packages:"
if [[ ! -z "${BITRISE_DOCKER_REV_NUMBER_ANDROID_NDK_LTS}" ]] ; then
echo " (!) Version check not available on this Stack / in this image"
else
grep ^Pkg.Revision ${ANDROID_HOME}/tools/source.properties | cut -d= -f 2 | xargs -I {} echo "* SDK Tools version: {}"
grep ^Pkg.Revision ${ANDROID_HOME}/platform-tools/source.properties | cut -d= -f 2 | xargs -I {} echo "* Platform Tools version: {}"
grep ^Pkg.Revision ${ANDROID_HOME}/emulator/source.properties | cut -d= -f 2 | xargs -I {} echo "* Emulator version: {}"
fi

echo "========================================"
echo

Expand Down