8
Views
0
Comments
[VideoEditor_Plugin] [Video Editor_Plugin] Cannot Generate Mobile application
VideoEditor_Plugin
Forge asset by Truewind
Application Type
Mobile

Hi Guys,

I trust you are well. I ran into an error whilst attempting to generate a mobile application that uses the Video Editor_Plugin. I wanted to use it for video compression on the client side.

Error generating {Application}(Android): There was an issue generating the app. Gradle now requires you to declare dependencies using "implementation" or "api" instead of "compile". The dependency being incorrectly declared is "com.github.ergovia-mobile:android-transcoder:v0.1.10R_ergovia". Check your plugin configurations and try again. 

According to some results I found, the plugin android-transcoder:v0.1.10R_ergovia is being declared inside the cordova-plugin-video-editor with the old compile syntax, which newer Gradle versions (7+) no longer support.

Gradle (Android's build system) deprecated the compile configuration in favor of:

  • implementation - for dependencies used internally by the module
  • api - for dependencies exposed to other modules

So when you generate an Android package with newer MABS (Mobile Apps Build Service) versions (MABS 8+), OutSystems builds with Gradle 7+, and any plugin still using compile will break the build.

How did you go about making the necessary updates and did it resolve the issue?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.