[Solved] My android application is getting stopped


Go to the your Manifest file and do this in the activity where you want to show the Toolbar

<activity android:name=".YourActivity"  
 android:theme="@style/AppTheme.NoActionBar"><!-- ADD THIS LINE -->

Then in styles.xml add the following:

<style name="AppTheme.NoActionBar">
    <item name="windowActionBar">false</item>
    <item name="windowNoTitle">true</item>
</style>

solved My android application is getting stopped