Skip to content

Snappy1

  • Home
  • Android
  • What
  • How
  • Is
  • Can
  • Does
  • Do
  • Why
  • Are
  • Who
  • Toggle search form

[FIXED] java – I have tag issue on AndroidMainfest.xml file

Posted on November 11, 2022 By

Solution 1 :

You have a typo. Its

<uses-permission

with “s”, not

<user-permission

Problem :

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.


This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.

Closed 2 years ago.


Improve this question

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.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns_android="http://schemas.android.com/apk/res/android"
    xmlns_tools="http://schemas.android.com/tools"
    package="com.example.accident">

    <!--
         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.
    -->
    <uses-permission android_name="android.permission.ACCESS_FINE_LOCATION" />
    <user-permission android_name="android.permission.ACCESS_COARSE_LOCATION"/>
    <user-permission android_name="android.permission.INTERNET'/>


    <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">

        <!--
             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/.
        -->
        <meta-data
            android_name="com.google.android.geo.API_KEY"
            android_value="@string/google_maps_key" />

        <activity
            android_name=".CivilianMapsActivity"
            android_label="@string/title_activity_civilian_maps"> </activity>
        <activity android_name=".CivilianLoginRegisterActivity" />
        <activity android_name=".PolicemanLoginRegisterActivity" />
        <activity android_name=".WelcomeActivity" />
        <activity android_name=".MainActivity"
            tools_ignore="WrongManifestParent">
            <intent-filter>
                <action android_name="android.intent.action.MAIN" />

                <category android_name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

    </application>

    </manifest>

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

<user-permission android_name="android.permission.ACCESS_COARSE_LOCATION"/>
<user-permission android_name="android.permission.INTERNET'/>

Comments

Comment posted by Vivek Mishra

there is also a quotes typo in last permission

READ  [FIXED] How to Receive Data and Display Records According to Spinner's Selected Item. In Android's SQLITE DatabaseHelper.java
Powered by Inline Related Posts

Comment posted by Lakshan Sandeepa

omg my bad thank you mate.

Comment posted by Lakshan Sandeepa

By the way is there any issue between applications tags ?

Android Tags:android, java, tags, xml

Post navigation

Previous Post: [FIXED] android – How to pass data by Back Button, Kotlin
Next Post: [FIXED] Project with external module issue in android studio 3.6

Related Posts

[FIXED] java – Unable to load class ‘com.intellij.util.Consumer’ Android
[FIXED] java – How can I add button at the bottom of the screen having a recycler View. so that the button don’t hide the last element of recycler view Android
[FIXED] android – What is provideLayout()?.let { setContentView(it) }? Android
[FIXED] How to add an image background to a Card object in Android Jetpack Compose? Android
[FIXED] android – How do you refresh a view each time a user switches to a tab in a ViewPager2? Android
[FIXED] ERROR: Unable to resolve dependency for ‘:[email protected]/compileClasspath’: Could not download twitter.aar (com.twitter.sdk.android:twitter:3.1.0) Android

Archives

  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022

Categories

  • ¿Cómo
  • ¿Cuál
  • ¿Cuándo
  • ¿Cuántas
  • ¿Cuánto
  • ¿Qué
  • Android
  • Are
  • At
  • C'est
  • Can
  • Comment
  • Did
  • Do
  • Does
  • Est-ce
  • Est-il
  • For
  • Has
  • Hat
  • How
  • In
  • Is
  • Ist
  • Kann
  • Où
  • Pourquoi
  • Quand
  • Quel
  • Quelle
  • Quelles
  • Quels
  • Qui
  • Should
  • Sind
  • Sollte
  • Uncategorized
  • Wann
  • Warum
  • Was
  • Welche
  • Welchen
  • Welcher
  • Welches
  • Were
  • What
  • What's
  • When
  • Where
  • Which
  • Who
  • Who's
  • Why
  • Wie
  • Will
  • Wird
  • Wo
  • Woher
  • you can create a selvedge edge: You can make the edges of garter stitch more smooth by slipping the first stitch of every row.2022-02-04
  • you really only need to know two patterns: garter stitch

Recent Posts

  • Can VPN be traced by police?
  • Where were Kaiser-Frazer cars built?
  • How do you make gold rose gold paint?
  • What are the newest type of dentures?
  • Can you wear joggers as dress pants?

Recent Comments

No comments to show.

Copyright © 2023 Snappy1.

Powered by PressBook Grid Dark theme