We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6bb7bdb + 468f6d6 commit bc075e7Copy full SHA for bc075e7
Assets/Plugins/Source/Editor/Platforms/Android/AndroidBuilder.cs
@@ -228,11 +228,16 @@ private static string GetBuildTools()
228
var toolsRegex = new Regex(@"(\d+)\.(\d+)\.(\d+)");
229
int maxMajor = 0, maxMinor = 0, maxPatch = 0;
230
//find highest usable build tools version
231
-#if UNITY_2022_2_OR_NEWER
232
- const int highestVersion = 32;
+ const int highestVersion =
+#if UNITY_2022_3_OR_NEWER
233
+ 34
234
+#elif UNITY_2022_2_OR_NEWER
235
+ 32
236
#else
- const int highestVersion = 30;
237
+ 30
238
#endif
239
+;
240
+
241
foreach (var dir in Directory.GetDirectories(Path.Combine(AndroidExternalToolsSettings.sdkRootPath,
242
"build-tools")))
243
{
0 commit comments