Search Issue Tracker

Fixed in 2019.2.X

Votes

0

Found in

2019.2.0a1

Issue ID

1120542

Regression

Yes

[Android] ArgumentException errors thrown when the SDK build-tools directory contains a subdirectory that has an unexpected name

Mobile

-

Steps to reproduce:
1. Create a directory named "xyz" under Sdk/build-tools/ (e.g. C:\\android-sdk\build-tools\xyz)
2. Open any project
3. Open Build Settings window
4. Switch to Android
5. Press Build

Expected result: a project is built without any errors
Actual result: Android build settings window is broken, ArgumentException errors flood the console and/or builds fail with ArgumentException errors

Reproducible with: 2019.2.0a1, 2019.2.0a2, 2019.2.0a3 (d51e0e10f042)
Not reproducible with: 2018.3.3f1, 2019.1.0b1

Notes:
- log attached: error.txt
- tested on Linux and Windows
- any dir name that does not follow the standard SDK version naming (e.g. 23.0.0) will cause the bug to reproduce (e.g. '1', 'a', 'xyz', 'android-Q', etc.)
- in Edit/Preferences/External Tools, enabling "Android SDK Tools Installed with Unity" does not change anything

Comments (1)

  1. AndreaHerz

    Mar 02, 2020 11:25

    Gracias por compartir esta buena información sobre cómo resolver este problema crítico. Esto sin esfuerzo que ha resuelto este problema con tanta elegancia. He aprendido más de aquí, como mi profesión, soy desarrollador de software en https://sitechecker.pro/es/ Esta es la herramienta de auditoría SEO y marketing digital más popular. He estado trabajando con esta industria por más de cinco años. Mi pasión es aprender programación y compartir mis conocimientos con las personas. Así que le agradezco mucho por compartir esta información efectiva con nosotros.

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.