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

Android build fixes #1723

Merged
merged 2 commits into from
Feb 28, 2024
Merged

Android build fixes #1723

merged 2 commits into from
Feb 28, 2024

Conversation

smilediver
Copy link
Contributor

Describe your changes

This PR has two fixes to improve Android builds:

  • If user hasn't specified Android SDK location, then it tries to find SDK at ~/Library/android/sdk, which is a default location on macOS.
  • findNDKInDir() tries to open source.properties file for a specified NDK, but it throws an exception if it doesn't exist and doesn't allow automatic NDK download. The fix catches the exception and allows build to continue with automatic NDK download.

Issue ticket number and link

Checklist before requesting a review

For each PR

  • Add Copyright if it missed:
    - "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

  • I have performed a self-review of my code.

    Optional:

    • I have checked readme and add important infos to this PR.
    • I have added/adapted some tests too.

For core/new feature PR

  • I have checked readme and add important infos to this PR.
  • I have added thorough tests.

@halx99 halx99 added this to the 2.1.3 milestone Feb 28, 2024
@halx99 halx99 added the enhancement New feature or request label Feb 28, 2024
@halx99 halx99 merged commit fcf18f8 into axmolengine:dev Feb 28, 2024
14 checks passed
@smilediver smilediver deleted the android_build_fixes branch February 29, 2024 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants