Skip to content

Android Build Failure in Unity (2022/2023/6000) Due to Missing NDK #21

@andreion1ca

Description

@andreion1ca

Problem

The build process for the Roll-a-Ball project targeting Android is failing when using Unity versions 2022, 2023, and 6000. The failure occurs because the required Android NDK (Native Development Kit) is not available or not properly configured in these Unity versions, leading to unsuccessful builds.

Steps to Reproduce

  1. Open the Roll-a-Ball project in Unity 2022, 2023, or 6000.
  2. Attempt to build the project for the Android platform.
  3. Observe the build failure due to missing or unavailable Android NDK.

Expected Behavior

The project should successfully build for Android if all required dependencies, including the Android NDK, are present.

Actual Behavior

The build fails, and errors appear related to the missing or unavailable Android NDK.

Possible Solution

  • Ensure the correct version of the Android NDK is installed and configured in Unity for all supported versions (2022, 2023, 6000).
  • Update the project documentation with the compatible NDK versions.

Additional Context

  • Unity versions affected: 2022, 2023, 6000
  • Platform: Android
  • Error logs reference missing NDK.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.3.0bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions