- Home /
Unity build is working on IOS but not on Andorid
Hello,
I am working on releasing an app on IOS and Android. But when I build the app to Android all I get is a unity splash screen then a black screen. It is never able to get to the main screen. I tried looking through logcat in android studio and I can't seem to find any errors when I run the game. But when I built the app to IOS everything is working fine. After the splash screen, I am able to reach the main menu and play the game.
I am using a Samsung galaxy s6 edge if that helps. I am using an iPhone X for IOS.
I am really at a loss on what to do. If anybody has any suggestions that would be great!
Thanks!
Answer by Ryder228 · Jun 03, 2019 at 05:15 AM
I figured it out, so I will post the answer here. After somebody commented that they tried my code and it worked just fine, I decided to try another device here. That device also failed to register and login. This told me something was wrong with my build settings. My first idea was to switch build type from Gradle to Internal, and that solved the problem for both my devices immediately.
Thanks for the reply.
I tried what you suggested and I still just get a black screen after the unity splash screen.
Here is a picture of my build settings if that helps https://www.dropbox.com/s/65d8vmfewugdsyo/Build%20Setting.PNG?dl=0
And other settings as well. https://www.dropbox.com/s/teqf37a272nas8w/Other%20Setting%201.PNG?dl=0
https://www.dropbox.com/s/x6gh76cxjqhnr6q/Other%20Setting%202.PNG?dl=0