Just imported a source code, switched it to android.
I tried to build the APK but every time unity stops working and I had to close the unity from the task manager.
There is no error so I’m unable to know the actual problem.
If you have lighting in your scenes it can take quite a long time to build. Have you tried it on an empty project? How long are you waiting? I don’t even have lighting in my games and they take about 10 minutes to build for Android and Unity is unresponsive for big chunks of that time.
I don’t think it’s because of lighting.
It’s building perfectly for PC, but whenever I try to build for Android unity stops working.