Search Issue Tracker

Fixed in 2018.3.X

Fixed in 2018.2.X

Votes

1

Found in

2018.2.0a1

2018.2.0b2

Issue ID

1031320

Regression

Yes

Android build fails when 28.0.0-rc1 or 28.0.0-rc2 build tools are installed

Android

-

Reproduction steps:
1. Download project from comment and open in Unity
2. Download 28.0.0-rc1 or 28.0.0-rc2 build tools and install
3. Go to Files -> Build Settings
4. Build And Run

Expected: for the project to be built successfully
Actual: build fails because of an error

Reproduced on: 2018.2.0a1; 2018.2.0b1; 2018.2.0b7; 2018.3.0a1
Not reproducible on: 2017.1.4p1; 2017.2.3p1; 2017.4.5f1; 2018.1.4f1
Regression introduced: 2018.2.0a1

Note:
Issue disappears after uninstalling 28.0.0-rc1 or 28.0.0-rc2.
Player Settings property Target API Level has to be set to Automatic (highest installed) for the issue to be reproducible.
Error:
FormatException: Input string was not in the correct format
System.Int32.Parse (System.String s) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Int32.cs:629)
System.Version..ctor (System.String version) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Version.cs:109)
UnityEditor.Android.Utils.ParseVersion (System.String version)
UnityEditor.Android.AndroidComponentProperties.get_PackageRevision ()
UnityEditor.Android.AndroidComponentProperties.GetPackageRevision (System.String directory)
UnityEditor.Android.AndroidSDKTools.BuildToolsVersion ()
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKBuildToolsDetector.GetVersion (UnityEditor.Android.AndroidSDKTools sdkTools, UnityEditor.Android.AndroidJavaTools javaTools)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK+SDKComponentDetector.Detect (UnityEditor.Android.AndroidSDKTools sdkTools, UnityEditor.Android.AndroidJavaTools javaTools, System.Version minVersion, UnityEditor.Android.PostProcessor.ProgressHandler onProgress)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.EnsureSDKComponentVersion (UnityEditor.Android.AndroidJavaTools javaTools, System.Version minVersion, UnityEditor.Android.PostProcessor.Tasks.SDKComponentDetector detector)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.EnsureSDKComponentVersion (UnityEditor.Android.AndroidJavaTools javaTools, Int32 minVersion, UnityEditor.Android.PostProcessor.Tasks.SDKComponentDetector detector)
UnityEditor.Android.PostProcessor.Tasks.CheckAndroidSDK.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
UnityEditor.Android.PostProcessAndroidPlayer.PrepareForBuild (BuildOptions options, BuildTarget target)
UnityEditor.Android.AndroidBuildPostprocessor.PrepareForBuild (BuildOptions options, BuildTarget target)
UnityEditor.PostprocessBuildPlayer.PrepareForBuild (BuildOptions options, BuildTargetGroup targetGroup, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:106)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Fixed on: 2018.3.0a10

Comments (10)

  1. eseo14376

    Jun 09, 2020 12:34

    Android Studio problem (2) Failed to find Build Tools revision 28.0.2, Programmer ... At this point, just follow the prompts and click on the link below to install. ... Android studio appears Error: failed to find Build Tools revision 28.0.0 rc1 Solutions ...
    by http://followersuk.co.uk/

  2. eseo14376

    Jun 09, 2020 12:33

    Android SDK Build-Tools is a component of the Android SDK required for building Android apps. It's installed in the <sdk>/build-tools/ directory. by https://followersuk.uk/

  3. eseo14376

    Jun 09, 2020 12:33

    I've tried uninstalling and updating my Android SDK Build Tools but nothing... ... We uninstalled 28.0.0-rc1 and 28.0.0-rc2 - just used 27.X and it ... by http://buyactivefollowersuk.co.uk//

  4. seoseoexperts521

    Jun 09, 2020 10:52

    Android Studio problem (2) Failed to find Build Tools revision 28.0.2, Programmer ... At this point, just follow the prompts and click on the link below to install. ... Android studio appears Error: failed to find Build Tools revision 28.0.0 rc1 Solutions ...
    https://epicfollowers.ca/

  5. seoseoexperts521

    Jun 09, 2020 10:50

    Android Build Error: android:keyboardNavigationCluster OR android:font. You will get ... Platform-Tools https://buyfollowerscanada.com/

  6. seoseoexperts521

    Jun 09, 2020 10:49

    I'm getting the following error when building: Cannot open a library at ... build-tools 28.0.0-rc1 • Java binary at: /Applications/Android ... Preview.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality.https://buyfollowersaustralia.com.au/

  7. seoseoexperts521

    Jun 09, 2020 10:49

    In the SDK Tools tab, select Android SDK Build-Tools 30 (or higher). Click OK to begin install. Update your build configuration. To fully test your app's compatibility ...
    by http://buyfollowersitaly.com/

  8. uk6

    Jun 07, 2020 06:37

    Frontier now has a new way for you, the community, to report and prioritise any issues found in our games. Submit your report, confirm other issues and prioritise ... by http://epicfollowers.co.uk/

  9. wecij

    Jun 04, 2020 10:30

    Many android devices failed when installed it is why because that device is not compatible with the version. Developers who made this version giving https://topamericanwriters.com/ukessays-com-review/ to people and tell them to announce another one for them.

  10. Nikhil12

    Jul 01, 2019 06:50

    I am getting this issue in unity 2018.3.13f. Is there some kind of patch to fix this issue?

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.