Search Issue Tracker

Fixed in 2019.2.X

Fixed in 2018.4.X

Votes

0

Found in

2017.4.27f1

2018.3.11f1

2018.4.2f1

2019.1.0a8

Issue ID

1174507

Regression

Yes

[Android] Android SDK Build-Tools newest version location can fail

Linux

-

How to reproduce:
1. Make sure Android SDK Build-Tools versions 28.0.2 and 28.0.3 are installed
2. Download the originally attached project 'testbuild.zip'
3. Open up a terminal and execute this command:
"<path_to_Editor>/Unity -batchmode -projectPath <path_to_Project>/testbuild -executeMethod MyEditorScript.PerformBuild -logFile - -quit"

Expected results: Build finishes, .apk is built
Actual results: Build fails with 'UnityException: Failed to update Android SDK.' error

Reproducible with: 2018.4.2f1

Notes:
- You can install different SDK Build-Tools versions through Android Studio's SDK manager
- Only reproduces in certain circumstances when the order of installed Build-Tools versions is exactly what is needed
- Installing 28.0.2, 28.0.3 and 29.0.1 will demonstrate the bug with a high probability (Unity will choose the 28.x versions 2/3rds of the time).

  1. Response avatar

    Resolution Note (fix version 2019.2):

    Fixed when build-tools inspection code was refactored

Comments (2)

  1. 62ab09c7c0a1494778300fd5eb2bc1f8?d=mm

    richardmody3

    Jan 22, 2021 07:00

    I have also applied whatsapp plus here otherwhatsapp.com/whatsapp-plus/

  2. 0630c9b8a14ed201c841e3c0d0b2eb50?d=mm

    vv806421

    Sep 19, 2020 10:13

    Thanks to ANDROID SDK tool I have downloaded and installed whatsapp plus to use more mod features on whatsapp app at: techbigs.com/whatsapp-plus.html

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.