Receiver in manifest file is giving error class or interface expected
<p>There is an error in the manifest file that when I try to enter reciever it says class or interface expected</p>

<pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
 &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.uzairaslam.silenter" &gt;
&lt;uses-permission android:name="android.permission.SEND_SMS" /&gt;
&lt;uses-permission android:name="android.permission.RECEIVE_SMS" /&gt;
&lt;uses-permission android:name="android.permission.READ_SMS_" /&gt;
&lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;

&lt;application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:theme="@style/AppTheme" &gt;


    &lt;activity
        android:name=".MainActivity"
        android:label="@string/app_name" &gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;

            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;

&lt;/application&gt;
&lt;receiver android:name="AlarmReceiver"/&gt;
</code></pre>

<p></p>

<p>The receiver class which is not added is this</p>

<p>public class AlarmReceiver extends BroadcastReceiver {</p>

<pre><code>SQLiteDatabase db;
String d ;
String deviceard;
String roomard ;
boolean status ;
public AlarmReceiver() {

}


@Override
public void onReceive(Context context, Intent intent) {



    d= intent.getStringExtra("DeviceId");
    deviceard = intent.getStringExtra("Device_Ard_Id");
    roomard = intent.getStringExtra("Room_Ard_id");
    status = Boolean.parseBoolean(intent.getStringExtra("Device_Status"));

    if(status)
        Send_sms("y"+roomard+":"+deviceard+":oz" ,context);
    else
        Send_sms("y"+roomard+":"+deviceard+":fz" ,context);

    Toast.makeText(context,"Mateen",Toast.LENGTH_LONG).show();


}

public void Send_sms(String msg,Context c)
{
    Uri alarmUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM);
    if (alarmUri == null) {
        alarmUri = RingtoneManager.getDefaultUri(RingtoneManager.TYPE_NOTIFICATION);
    }
    Ringtone ringtone = RingtoneManager.getRingtone(c, alarmUri);
    ringtone.play();


}
</code></pre>

<p>}</p>