- Home /
Android App Refuses To Launch On My Phone
Every time I build or build & run then install the game to my phone I get a black screen and then the game will close after a few seconds and return to my home screen. I need help here because I've tried many different player settings but nothing seems to work. I am running android 4.1.2 and my phone is an HTC One SV. I also have installed the developer tools and packages for 4.1.2 in the Android SDK Manager. I am using Unity 4.3 and there are no console errors. I also have all the scenes I want added to the build settings. What am i doing wrong?! Please help me! Thanks so much.
Try creating a basic scene first - just a cube and a light - does that work? If so, then you need to isolate elements from your game and work out which one is causing the crash (do you have lots of large textures, for example?)
Hey guys thanks for commenting. I have already tried to make an empty scene with a cube and a light to no avail. Also I don't have access to any other devices so what do I do now?
When you say you don't see any console errors, do you mean just Unity console?
If you haven't tried it already, run the $$anonymous$$onitor program that comes with the Android SD$$anonymous$$ (usually found in ./sdk/tools/) :
http://developer.android.com/tools/help/monitor.html
$$anonymous$$ake sure you're looking at the LogCat tab and this will give you detailed output about a lot of things happening on your device. Hopefully this will help to solve your issue.
Alright I got it fixed! Finally! :D It seems that the problem after all was a corrupt version of unity 4.3.1f1. I wouldn't have thought that to be the problem without your guys' help. Thanks so much.
Answer by Tyrebear · Dec 10, 2013 at 12:35 AM
Awesome I didn't know about the monitor program until now. It appears as though Unity is exporting a corrupted .apk and my phone is expecting unity 4.3.0f4 when my actual unity version is 4.3.1f1. I'll try to re install unity 4.3.0f4 and see if that fixes anything. Thanks for the suggestions and I'll keep you guys posted
As far as I'm aware, the device shouldn't expect any particular version of Unity. Perhaps it is having trouble with the $$anonymous$$imum api level you've chosen in the build settings for your project? Be sure you have it set to something that is the same or lower than the device you're trying to test on. For example, if your phone is running Android 4.1, you would want to set your $$anonymous$$imum api to be 4.1 or lower. (See attached image for location)
Answer by $$anonymous$$ · Apr 20, 2016 at 08:46 AM
I upgraded to windows 10 and that solved my problem. i know it is not the most convinient solution but hey it worked for me
Your answer
Follow this Question
Related Questions
A node in a childnode? 1 Answer
My app only works in development build (IOS and Android) 0 Answers
Unity Ads Unnecessary Android Permissions 1 Answer
FATAL EXCEPTION - dvm crash ? 1 Answer