How can I debug an Android game that crashes at launch (after Unity logo)?

There are no errors in the editor and no errors while exporting/running the build on my phone. After the Unity logo displays, the app closes and my phone displays “{App} keeps stopping”. How can I figure out what’s wrong?

Connect your phone to your computer using USB, once its plugged in navigate to your platform-tools in the android folder (C:\Android\sdk\platform-tools by default). Open the command prompt from there (type cmd in the folder browser) this will launch the platform tools inside the terminal.

run the following command adb logcat -s Unity ActivityManager PackageManager dalvikvm DEBUG this will start adb logcat and filter messages down to show (mostly) Unity specific logs. Run your app and it should now show all logs, warnings, and error messages in your terminal. Read through these logs to figure out what is crashing the application