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

Test preinstalled Android SDK and NDK #18

Merged
merged 1 commit into from
Aug 5, 2022
Merged

Conversation

jperedadnr
Copy link
Collaborator

Since 1st August, NDK is set to 25, instead of 21, and that doesn't work.
This PR tries to uses NDK 23, the older version preinstalled with Ubuntu 20.04, and also prevents installing Android SDK.

run: mvn -Pandroid gluonfx:build gluonfx:package
run: |
export ANDROID_SDK=$ANDROID_HOME
export ANDROID_NDK=$ANDROID_HOME/ndk/23.2.8568313
Copy link
Collaborator

@abhinayagarwal abhinayagarwal Aug 4, 2022

Choose a reason for hiding this comment

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

What are the chances of Github changing this version in the future?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since we use ubuntu-latest, that is likely to happen, as soon as they move from 20.04 to 22 or so, possibly removing the older NDK in the process... But once that happen we'll notice and react accordingly.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we hardcode the latest version for now to avoid failing the build in future?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The latest version (25) doesn't work, that's why I'm using the older possible.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jperedadnr jperedadnr merged commit 2ae3e3d into master Aug 5, 2022
@jperedadnr jperedadnr deleted the jperedadnr-patch-2 branch August 5, 2022 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants