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

The android Docker image does not build on arm64 #7

Closed
regisb opened this issue May 16, 2023 · 5 comments
Closed

The android Docker image does not build on arm64 #7

regisb opened this issue May 16, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@regisb
Copy link
Contributor

regisb commented May 16, 2023

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.
@regisb regisb added the bug Something isn't working label May 16, 2023
regisb added a commit that referenced this issue May 16, 2023
The 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.

This issue is tracked in #7.
@ziafazal
Copy link

ziafazal commented Jan 2, 2024

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

@muhammadali286
Copy link
Contributor

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

@regisb
Copy link
Contributor Author

regisb commented Jan 22, 2024

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

@muhammadali286
Copy link
Contributor

@regisb please have a look here

@regisb
Copy link
Contributor Author

regisb commented Jan 30, 2024

Closed by #18

@regisb regisb closed this as completed Jan 30, 2024
@github-project-automation github-project-automation bot moved this from Backlog to Done in Tutor project management Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

3 participants