Scroll to top
© 2018, Titus Kipruto

How to fix Moodle Mobile Classic phonegap build error!


admin - September 18, 2018 - 0 comments

If you are using phonegap to build your moodle mobile 3.4.2 and below you will notice that it has started to throw some errors when trying to build the app. This is caused by recent plugin upgrade done by adobe which makes some some plugins on Moodle mobile classic outdated. To fix this error, follow the steps below

  • Open config.xml and paste the code below anywhere on the file
<gap:plugin name="cordova-android-support-gradle-release" spec="github.com/dpa99c/cordova-android-support-gradle-release">
<variable name="ANDROID_SUPPORT_VERSION" value="27.+" />
  • Find <preference name=”android-targetSdkVersion” value=“19” /> and replace it with
<preference name="android-targetSdkVersion" value="27" />
  • Commit the changes then update your code on phonegap then build your project.

Post a Comment

Your email address will not be published. Required fields are marked *