I have tag issue on AndroidMainfest.xml file : <p>I am developing an uber app, so I need to connect my app through the internet while I am doing that I saw there are tag issues on my XML file and I tried to fix it changing tags but it's not working.</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    package="com.example.accident"&gt;

    &lt;!--
         The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
         Google Maps Android API v2, but you must specify either coarse or fine
         location permissions for the 'MyLocation' functionality.
    --&gt;
    &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
    &lt;user-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
    &lt;user-permission android:name="android.permission.INTERNET'/&gt;


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

        &lt;!--
             The API key for Google Maps-based APIs is defined as a string resource.
             (See the file "res/values/google_maps_api.xml").
             Note that the API key is linked to the encryption key used to sign the APK.
             You need a different API key for each encryption key, including the release key that is used to
             sign the APK for publishing.
             You can define the keys for the debug and release targets in src/debug/ and src/release/.
        --&gt;
        &lt;meta-data
            android:name="com.google.android.geo.API_KEY"
            android:value="@string/google_maps_key" /&gt;

        &lt;activity
            android:name=".CivilianMapsActivity"
            android:label="@string/title_activity_civilian_maps"&gt; &lt;/activity&gt;
        &lt;activity android:name=".CivilianLoginRegisterActivity" /&gt;
        &lt;activity android:name=".PolicemanLoginRegisterActivity" /&gt;
        &lt;activity android:name=".WelcomeActivity" /&gt;
        &lt;activity android:name=".MainActivity"
            tools:ignore="WrongManifestParent"&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;/manifest&gt;
</code></pre>

<p>I need to fix those. Also these two lines not working too. is it because of tags issue?</p>

<pre><code>&lt;user-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/&gt;
&lt;user-permission android:name="android.permission.INTERNET'/&gt;
</code></pre>
