eLearningOpen Source

How to fix Moodle Mobile Classic phonegap build error!

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.

Moodle for Raspberry Pi 3
Challenges Of Implementing eLearning In Africa

Advertise with us

We can connect you to one of the world’s largest audiences of high net worth, highly educated & international professionals.

My Portfolio

I have been involved in the delevelopment or various applications and websites