The compilation error results are as follows
Build completed with a result of ‘Failed’ in 8 seconds (7835 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:189)
1. Background
The wrong unity version reported today when compiling and running the Android app
: 2021.3.16
Two, the solution
The specific reason is currently unknown
- File -> build Settings -> build
After this step, the apk file will be successfully generated;
so guess that the error is reported in the running phase;
if you use compile and run, an error will occur, and the apk file will not be generated.
- Now that you have the apk file, it is easy to handle, and you can use various methods to install it.
I useadb install
Three, finally
It is possible to know the reason and other solutions, the comment area points out