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

Unable to graft xml at selector

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.0
    • Fix Version/s: None
    • Component/s: Android
    • Labels:
      None
    • Affected Branches:
      MOODLE_38_STABLE

      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

      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

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: