Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
2
Question by SokHeang · Mar 09, 2018 at 12:25 PM · build

Build Error Unity2017.3.1f1

I can't build my game through the error below. I googled and did every solution that match this but it didn't help me out. Please help me out.

Error: CommandInvokationFailure: Gradle build failed. C:/Program Files/Java/jdk1.8.0_162\bin\java.exe -classpath "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-4.0.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx2048m" "assembleDebug"

stderr[

FAILURE: Build failed with an exception.

  • What went wrong: A problem occurred configuring root project 'gradleOut'.

    Failed to find Build Tools revision 28.0.0

  • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED in 1s ] stdout[

] exit code: 1 UnityEditor.Android.Command.WaitForProgramToRun (UnityEditor.Utils.Program p, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, System.String errorMsg) UnityEditor.Android.AndroidJavaTools.RunJava (System.String args, System.String workingdir, System.Action`1 progress, System.String error) UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress) Rethrow as GradleInvokationException: Gradle build failed UnityEditor.Android.GradleWrapper.Run (System.String workingdir, System.String task, System.Action`1 progress) UnityEditor.Android.PostProcessor.Tasks.BuildGradleProject.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
17
Best Answer

Answer by rachidDev · Mar 11, 2018 at 08:36 AM

Open android studio then file -> setting -> SDK Tools : desintall version 28.0.0rcl and return to unity build your project , that all

Comment
Add comment · Show 12 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image mdrunk · Mar 11, 2018 at 05:06 PM 0
Share

That was it. Nailed it. So I guess unity won't support anything beyond strictly numerical release names? Thank you so much.

avatar image SokHeang · Mar 12, 2018 at 04:11 AM 0
Share

Thanks you so much.

avatar image eun1310434 · Mar 12, 2018 at 07:46 AM 0
Share

Thank you very much!! 고마워요!!

avatar image Ivahi · Mar 15, 2018 at 10:32 PM 1
Share

thank you so much, you literally saved my bachelor's thesis as I was stuck on this for two days.

avatar image awrightiv_ddi · Mar 22, 2018 at 11:06 PM 1
Share

This was one of the steps that got me to the solution, but I needed one more: 1) In your project, go to Edit > Find > Find in Path... 2) Search for "buildToolsVersion" without the quotes. 3) Replace all instances of versions "buildToolsVersion '28" with "buildToolsVersion '27". 4) Profit.

Show more comments
avatar image
1

Answer by babykiller · Mar 09, 2018 at 01:54 PM

I got the same error. i fixed it using build system: internal instead of graddle

Comment
Add comment · Show 4 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SokHeang · Mar 09, 2018 at 03:20 PM 0
Share

Let me try this. Thanks

avatar image mdrunk · Mar 09, 2018 at 11:02 PM 0
Share

problem is there is no 28.0.0.0 at the moment, just an rc1. I'd like to know where exactly to change the build tools version.

avatar image davidecurcio · Mar 10, 2018 at 09:49 AM 0
Share

Can you explain to me how to do this?

avatar image SokHeang · Mar 14, 2018 at 07:06 AM 0
Share

open your android sdk and remove the build tool 28.0.0-rc1. And try to build in unity again.

avatar image
1

Answer by ikhsaniks · Mar 13, 2018 at 06:29 PM

I'm using the same unity version, and the unity 2017.3.1f1 is stabilized with the "JDK 1.8.161" don't use others version of JDK.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image agha502 · Jul 09, 2019 at 09:21 AM 0
Share

and sdk version?

avatar image
0

Answer by Saleem_Khan · May 10, 2018 at 05:37 AM

Same Error, can't handle there is no Build Tools revision 28.0.0 ? in my SDK there is only 28 rc2 (installed) this is in "Tool (preview channel)" below "Tools"

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image SokHeang · May 10, 2018 at 09:16 AM 0
Share

Just remove it.

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

96 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Unity Android sdk backward compatibility ? Yes/NO ? 0 Answers

Weird behavior when downloading to android 0 Answers

il2cpp build no response on mac 0 Answers

Errors, SDK in prefrences and a pop up Vuforia SDK Cannot be found,Errors SDK and Vuforia SDK So frustrating 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges