Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Cordova Media Plugin 'Build' issues

Gaurav_N_
Beginner
476 Views

I am having issues in building Android app with Media plugin installed. The build works fine if I select the Media plugin from Core plugins (which is version 1.1) but when I added cordova-media-plugin(version 2.1.1) from third party plugin option, the build fails! 

Below are the details about this issue:

XDK version: 2893 on Windows 7

Steps to reproduce the problem:

  1. Create new HTML5 + cordova app
  2. Add third party plugin 'cordova-media-plugin'
  3. Build and it will fail displaying, 'Error: plugin Media failed to install' 

Build Log: 

The build failed. An error occurred while building the application. Verify your build assets are correct and try again.
Build Log:
Building a Cordova 5.1.1 application.
The application name is "AudioSample1"
The package name is "com.appname.audiosample1"
Plugin "cordova-plugin-statusbar" (2.0.0) installed.
Plugin "cordova-plugin-device" (1.1.0) installed.
Plugin "cordova-plugin-splashscreen" (2.1.0) installed.
Plugin "cordova-plugin-file" (2.1.0) installed.
Error: Plugin Media failed to install.
Plugin "cordova-plugin-legacy-whitelist" (1.1.0) installed.
Plugin "cordova-plugin-crosswalk-webview" (1.3.1) installed.

 

0 Kudos
1 Reply
PaulF_IntelCorp
Employee
476 Views

That version of the Media plugin is not compatible with our current build system. Our build system does not yet include Cordova-Android 5.x, we are using the Cordova-Android 4.x framework. Our next major build system update will support 5.x.

See this blog post for details > https://cordova.apache.org/news/2015/11/24/plugins-release.html

0 Kudos
Reply