Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] add dependencies for bulding Android App #3336

Merged
merged 8 commits into from
Oct 26, 2020

Conversation

wgtdkp
Copy link
Contributor

@wgtdkp wgtdkp commented Oct 20, 2020

Problem

There are missing dependencies in the android build docker image for us to run ./gradlew build to build the Android App.

Summary of Changes

Add dependencies required to build the Android App from command line (with ./gradlew build).

Fixes #3335.

rsync \
swig \
Copy link
Contributor Author

@wgtdkp wgtdkp Oct 20, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are required when building the Android App by following the README doc, Please also see the document-update PR #3334.

Comment on lines +29 to +36
# Download and install android command line tool (for installing `sdkmanager`)
RUN set -x \
&& wget -O /tmp/android-tools.zip https://dl.google.com/android/repository/sdk-tools-linux-3859397.zip \
&& cd /opt/android/sdk \
&& unzip /tmp/android-tools.zip \
&& rm -f /tmp/android-tools.zip \
&& test -d /opt/android/sdk/tools \
&& : # last line

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need sdkmanager to download Android SDKs and it comes with this Android SDK tool package.

integrations/docker/run.sh Outdated Show resolved Hide resolved
@@ -1 +1 @@
0.4.12
0.4.13
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of changing this, please unlink the chip-build-android/version from chip-build/version and update only chip-build-android/version to 0.4.12.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rwalker-apple Updated. But did you mean 0.4.13? We are now in version 0.4.12 (and there are 0.4.12 TAG on docker hub).

@wgtdkp wgtdkp removed the request for review from saurabhst October 25, 2020 03:29
@wgtdkp wgtdkp requested review from saurabhst and removed request for hawk248 October 25, 2020 03:29
@pullapprove pullapprove bot requested a review from hawk248 October 25, 2020 03:29
@wgtdkp wgtdkp requested review from BroderickCarlin and removed request for BroderickCarlin October 25, 2020 03:30
@rwalker-apple rwalker-apple merged commit 22d716f into project-chip:master Oct 26, 2020
@wgtdkp
Copy link
Contributor Author

wgtdkp commented Oct 27, 2020

@rwalker-apple We need connectedhomeip/chip-build-android:0.4.13 docker image for PR #3340, could you help publish it? Thanks!

@rwalker-apple
Copy link
Contributor

@rwalker-apple We need connectedhomeip/chip-build-android:0.4.13 docker image for PR #3340, could you help publish it? Thanks!

looks like @mspang beat me to it

@wgtdkp
Copy link
Contributor Author

wgtdkp commented Oct 27, 2020

@rwalker-apple We need connectedhomeip/chip-build-android:0.4.13 docker image for PR #3340, could you help publish it? Thanks!

looks like @mspang beat me to it

Yeah, Thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[build] dependencies are missing in android build docker
5 participants