Search Issue Tracker

Fixed

Fixed in 3.9.0-beta.1

Votes

0

Found in [Package]

3.8.0

Issue ID

HUBX-1111

Regression

No

[Linux] Hub doesn't accept Android license

Package: Hub

-

Reproduction steps:
1. Download an editor with Android Modules selected
2. Accept Android usage license
3. Create a new Android project
4. Click File > Build Settings
5. Build the project for Android

Expected result: Build finishes successfully
Actual result: Gradle Build process fails with the following error: “Could not determine the dependencies of task ':unityLibrary:mobilenotifications.androidlib:generateReleaseRFile'.
> Failed to install the following Android SDK packages as some licences have not been accepted.
platforms;android-33 Android SDK Platform 3”

Reproduced with: 3.7.0, 3.8.0

Reproduced on: Ubuntu 24.04, Ubuntu 22.04
Not reproduced on: Windows 10

Workaround: Launch ‘sdkmanager.sh’ in the Editor installation directory with ‘--licenses flag’: “…/Editor/Data/PlaybackEngines/AndroidPlayer/SDK/cmdline-tools/6.0/bin/sdkmanager --licenses”

Notes:

* Reproduced when installing 2021.3.40f1, 2022.3.36f1
* Not reproduced when installing 2023.1.0a1, 6000.0.8f1

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.