Media plugin does not work with current version of Android PhoneGap Build (4.1.1)

  • 1
  • Problem
  • Updated 5 years ago
I get this message in the log when trying to use PhoneGap Build with the cordoba-plugin-media:


Fetching plugin "cordova-plugin-media" via npm
Installing "cordova-plugin-media" for android
Plugin doesn't support this project's cordova-android version. cordova-android: 4.1.1, failed version requirement: >=5.0.0-dev
Skipping 'cordova-plugin-media' for android


It worked until recently - I notice the Media plugin was updated 2 days ago.
Photo of gh

gh

  • 34 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Petra V.

Petra V., Champion

  • 7794 Posts
  • 1391 Reply Likes
So you should try a previous version of that plugin, until PGB makes cli-5.4.x available.
Photo of gh

gh

  • 34 Posts
  • 0 Reply Likes
Moved it back to 1.0.1 - all good now!

Thank you.