Programmers learn & share
0 votes
917 views

Problem :

How can i fix the following error

build completed with a result of 'failed' unityengine.guiutility:processevent(int32, intptr)

by (6.9k points)   | 917 views

1 Answer

0 votes

Solution :

I had the same error when I tried to build an app. I was probably using unity 2017.2.1f1. And I resolved the issue by changing the tools in the sdk folder with the tools_r25.2.5 - To do that i simply download this file online here - https://androidsdkoffline.blogspot.in/p/android-sdk-tools.html

At first just rename the tools folder already present in sdk root folder with toolsXYZ and then Unziped tools_r25.2.5 and after that copied its tools into the sdk root folder.

Still, my error was present then I thought my jdk version is not correct. So downloaded the correct jdk1.8 from here - http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

Downloaded java kit 8u161 and then in Edit->Preferences ->External Tools Set these jdk1.8 path and sdk paths.

It worked for me after that and I built my first app using Unity 3d 

I hope it works for you too.

by (36.1k points)  
2,227 questions
2,734 answers
59 comments
241 users