When I run my application, I get an "Application Stopped" error.
CodePudding user response:
Your crash is caused by the theme of activity. If you are using AppCompatActivity You need to set...
android:theme="@style/Theme.YourTheme"
to your manifest(application or activity).
If your activity extends Activity, No need to add it to your manifest, and the crash will not happen.