I am trying to migrate the old flutter project but after following all the steps given in documentation I am getting several error in androidManifest.xml.

error that I am getting are

Attribute android:icon is not allowed here, Unresolved class 'MainActivity', Attribute android:launchMode is not allowed here, Attribute android:theme is not allowed here, Attribute android:configChanges is not allowed here, Attribute android:hardwareAccelerated is not allowed here, Attribute android:windowSoftInputMode is not allowed here,

<application
    android:label="bitcoin_ticker"
    android:icon="@mipmap/ic_launcher">
    <activity
        android:name=".MainActivity"
        android:exported="true"
        android:launchMode="singleTop"
        android:theme="@style/LaunchTheme"
        android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
        android:hardwareAccelerated="true"
        android:windowSoftInputMode="adjustResize">
        <!-- This keeps the window background of the activity showing
             until Flutter renders its first frame. It can be removed if
             there is no splash screen (such as the default splash screen
             defined in @style/LaunchTheme). -->
        <meta-data
        android:name="io.flutter.embedding.android.SplashScreenDrawable"
        android:resource="@drawable/launch_background" />

        <intent-filter>
            <action android:name="android.intent.action.MAIN"/>
            <category android:name="android.intent.category.LAUNCHER"/>
        </intent-filter>
    </activity>
    <meta-data
        android:name="flutterEmbedding"
        android:value="2" />
</application>