We are doing a research project in Arizona State University and we wanna build a Unity project into an Android .apk
- We correctly selected Android SDK so it is not a problem.
- We correctly put every C# script including “using UnityEditor” into XX/Editor/ folder.
But when we click build button, it doesn’t work. Pls check the attachment pictures.
- issue0.png is the problem.
- issue1.png is all the location of C# scripts in my unity project that include “using UnityEditor” sentence
- issue2.png is the player build setting of this project
It is really annoying when we couldn’t build this .apk. Pls help us, thanks.
My Unity version is 2019.3.13f1
Are you saying the Editor never finishes importing assets? You should see a spinning icon at the bottom right corner
Thank you for the reply. Actually, the building process fails and there is no spinning icon there.
I am not sure I understand, from your first comment it seems you’re not even able to initiate build? Since the build button is greyed out. But now you’re saying building process fails?
I am able to initiate a build process, and I am able to click the “Build” button. But the build process fails and shows the fail statement, which is exactly what my first screenshot shows.
Your first screenshot shows BuildPlayerWindow, I would expect the Console Window to show the error.