Problems with Android build when installing 2021.3.41f1 from Hub

2024-07-25 :white_check_mark: Incident resolved : - 2021.3.41f1 receives correct tooling


Follow these steps to get 2021.3.41f1 working again if you were affected:

:wastebasket: Uninstall the previous Unity 2021.3.41f1.
:arrows_counterclockwise: Restart Unity Hub to refresh the cache and fetch the new Android tools versions.
:inbox_tray: Download Unity 2021.3.41f1 again.

2024-07-24 :warning: Incident raised - 2021.3.41f1 does not receive correct tooling

We have upgraded Unity 2021.3.41f1 to support JDK 11 and AGP 7.5+.

However, we are currently experiencing an issue where the Hub does not serve the correct, updated JDK/tool files, defaulting to the old ones (e.g., JDK 8). We are actively working on resolving this issue. In the meantime, we advise you to not to update to 2021.3.41f1 if you are targeting Android until this is resolved.

If you still require Unity 2021.3.41f1 and are targeting Android, please follow these workaround steps in the meantime.

  1. Download 2021.3.41f1
  2. Download JDK 11 and extract the .zip file.
  3. From Unity Preferences → External Tools, point to the new JDK path (11)
  4. Build for Android
  5. You will be asked to update command line tools, click yes
  6. You will be asked to update Platform tools, click yes.

Alternative Option:

  1. Download 2021.3.41.f1
  2. Download 2022.3.39f1 or use an existing 2022 installation for the next steps
  3. In Unity 2021 Unity Preferences → External Tools, point to the 2022 JDK /gradle/ tools path
  4. Build

We appreciate your understanding and patience as we work to resolve this issue. Please stay tuned for further updates.

Thank you.

The Android Platform team

4 Likes

The issue has now been fixed and Unity Hub is downloading the correct Android tools.

Follow these steps to get 2021.3.41f1 working again:

  • :wastebasket: Uninstall the previous Unity 2021.3.41f1.
  • :arrows_counterclockwise: Restart Unity Hub to refresh the cache and fetch the new Android tools versions.
  • :inbox_tray: Download Unity 2021.3.41f1 again.
2 Likes