Issue
When I run my application, I get an "Application Stopped" error.
Solution
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.
Answered By - Yousef Kazemi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.