overhangio / tutor-android

Building an Android application for your Open edX platform
GNU Affero General Public License v3.0
7 stars 10 forks source link

The android Docker image does not build on arm64 #7

Closed regisb closed 3 months ago

regisb commented 1 year ago

Build fails with the following error:

#25 [linux/arm64 11/11] RUN ./gradlew tasks
#25 45.75 "Install Android SDK Platform 28 (revision: 6)" ready.
#25 45.75 Installing Android SDK Platform 28 in /app/android-sdk/platforms/android-28
#25 45.75 "Install Android SDK Platform 28 (revision: 6)" complete.
#25 45.75 "Install Android SDK Platform 28 (revision: 6)" finished.
#25 45.85 
#25 45.85 FAILURE: Build failed with an exception.
#25 45.85 
#25 45.85 * What went wrong:
#25 45.85 A problem occurred configuring project ':OpenEdXMobile'.
#25 45.85 > Failed to install the following SDK components:
#25 45.85       build-tools;28.0.3 Android SDK Build-Tools 28.0.3
#25 45.85   Install the missing components using the SDK manager in Android Studio.
ziafazal commented 4 months ago

@muhammadali286 Is this issue still valid after your fixes of tutor-android plugin for Quince upgrade?

muhammadali286 commented 4 months ago

The issue has been resolved after upgrading Ubuntu image, It was not related to arm64.

regisb commented 3 months ago

Awesome! Can you please remove the IMAGES_BUILD_PLATFORM key from the Gitlab CI file to build the image on arm64?

muhammadali286 commented 3 months ago

@regisb please have a look here

regisb commented 3 months ago

Closed by #18