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
[DOCKER] Fix Dockerfile.demo_android #6361
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,8 +55,6 @@ build-tools;26.0.3 | |
build-tools;27.0.3 | ||
cmake;3.6.4111459 | ||
emulator | ||
extras;android;gapid;1 | ||
extras;android;gapid;3 | ||
extras;android;m2repository | ||
extras;google;auto | ||
extras;google;google_play_services | ||
|
@@ -68,20 +66,20 @@ extras;google;simulators | |
extras;google;webdriver | ||
extras;m2repository;com;android;support;constraint;constraint-layout;1.0.2 | ||
extras;m2repository;com;android;support;constraint;constraint-layout-solver;1.0.2 | ||
lldb;2.3 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I check with |
||
platforms;android-26 | ||
platforms;android-27 | ||
tools | ||
ndk-bundle | ||
ndk;21.3.6528147 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
EOF | ||
|
||
mkdir /root/.android 2>/dev/null || true | ||
touch /root/.android/repositories.cfg | ||
(yes || true) | sdkmanager --licenses --sdk_root="$ANDROID_HOME" | ||
# NOTE: sdkmanager returns exit code 141 | ||
(yes || true) | sdkmanager --licenses --sdk_root="$ANDROID_HOME" || true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. similar to facebook/flipper#362 |
||
sdkmanager --verbose --package_file=/install/package-list-minimal.txt --sdk_root="$ANDROID_HOME" | ||
test -d "${ANDROID_HOME}/build-tools/27.0.3" | ||
test -d "${ANDROID_HOME}/ndk-bundle" | ||
for f in ${ANDROID_HOME}/ndk-bundle/* ; do | ||
test -d "${ANDROID_HOME}/ndk/21.3.6528147" | ||
for f in ${ANDROID_HOME}/ndk/21.3.6528147/* ; do | ||
ln --symbolic "$f" "/usr/bin/`basename $f`" | ||
done | ||
echo "export ANDROID_HOME=${ANDROID_HOME}" >> /etc/profile | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as #5566