Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3283

Unable to graft xml at selector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
    • Affected Branches:
      MOODLE_38_STABLE
    • Sprint:
      Moodle App 3.9.0

      Description

      FULL STEPS

      git clone https://github.com/moodlehq/moodlemobile2.git moodlemobiledirectory
      cd moodlemobiledirectory
      git checkout integration
      npm run setup
      ionic cordova platform remove android
      ionic cordova platform add android --no-resources

      EXPECTED

      Expect platform to build without errors

      ACTUALLY HAPPENS

      Error is displayed:

      Unable to graft xml at selector "/manifest/uses-feature[@android:name='android.hardware.location.gps']" from ".../moodlemobiledirectory/platforms/android/app/src/main/AndroidManifest.xml" during config install

      I believe this may be causing other configs for the AndroidManifest.xml to not be completed because when the project is opened in Android Studio, other errors related to the manifest are generated.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            meltonml Michelle Melton
            Participants:
            Component watchers:
            Juan Leyva
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: