<manifest xmlns:android="http://schemas.android.com/apk/res/android"

    package="com.pritesh.calldetection">

    <application android:allowBackup="true" android:label="@string/app_name"
        android:supportsRtl="true">
        <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
    </application>

</manifest>

<manifest
  xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.pritesh.calldetection">

  <uses-permission android:name="android.permission.READ_PHONE_STATE" />

  <application
    android:allowBackup="true"
    android:label="@string/app_name"
    android:supportsRtl="true" />

</manifest>

Move uses-permission to the correct nested level
Move uses-permission to the correct nested level
