Skip to content

Commit 8ab712a

Browse files
Mario Schünadelthyrlian
Mario Schünadel
authored andcommitted
reorder $PATH to use current emulator from $ANDROID_HOME/emulator/emulator instead of old $ANDROID_HOME/tools/emulator which also fixes https://issuetracker.google.com/issues/37137213 (set LD_LIBRARY_PATH)
1 parent 83fa3ea commit 8ab712a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

android-sdk/Dockerfile

+1-3
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,8 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64
4848
ENV GRADLE_HOME /opt/gradle
4949
ENV KOTLIN_HOME /opt/kotlinc
5050
ENV ANDROID_HOME /opt/android-sdk
51-
ENV PATH ${PATH}:${GRADLE_HOME}/bin:${KOTLIN_HOME}/bin:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools/bin:${ANDROID_HOME}/emulator
51+
ENV PATH ${PATH}:${GRADLE_HOME}/bin:${KOTLIN_HOME}/bin:${ANDROID_HOME}/emulator:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools:${ANDROID_HOME}/tools/bin
5252
ENV _JAVA_OPTIONS -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap
53-
# WORKAROUND: for issue https://issuetracker.google.com/issues/37137213
54-
ENV LD_LIBRARY_PATH ${ANDROID_HOME}/emulator/lib64:${ANDROID_HOME}/emulator/lib64/qt/lib
5553

5654
# accept the license agreements of the SDK components
5755
ADD license_accepter.sh /opt/

0 commit comments

Comments
 (0)