Android Build Crashes on Tablet
Hello,
I've just finished making my game, and after much fiddling with the preferences, I finally managed to make a successful Android build.
I transferred my APK to a tablet and installed it (I have one device which won't install it for some reason, and gives no reason, but another that does). However, when I run the game on the tablet that it has installed on, I get either a black screen, or the "Made with Unity" logo, and then the game crashes with the vague message: "App Name has stopped"
I'm unsure why this is happening with my Android build, as my PC/Standalone build works perfectly fine. None of the devices are giving me any kind of explanation as to what is causing the crash, just a simple vague message. A friend even tried it on his phone and wasn't getting any different results.
These are the build settings I'm using: - A keystore is set, and the preferences directory points to the correct folder - I have OpenGLE2, Vulkan and OpenGLE3 all in my Graphics APIs (I've tried without GLE2, but the result is no different) - Minimum API Level is 4.4 (the tablet I'm trying to test it on is on Android 4.4.2) - Scripting Backend is IL2CPP - API compatibility level is .NET 4x - I've checked both Target Architectures; ARMv7 and ARM64 (the tablet gave a "library returned null" error message when I only have ARM64 checked)
I'm no expert on Android, but I feel the way the build is being made is what's causing this. I'd be really grateful if someone could help me get to the bottom of this so I can finally get my App to run on an Android device.
Thanks in advance.
Another thing worth mentioning, is that whenever I open my Android player settings tab, I get the following yellow warnings in the console:
Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 System.Threading.ThreadHelper:ThreadStart ()
Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 System.Threading.ThreadHelper:ThreadStart ()
Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 System.Threading.ThreadHelper:ThreadStart ()
Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 System.Threading.ThreadHelper:ThreadStart ()
Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01 System.Threading.ThreadHelper:ThreadStart ()
I'm unsure if these have anything to do with the build not working, but I thought it's worth mentioning.