Software Archive
Read-only legacy content
17061 Discussions

Error: A build error occurred. Check the build log.

Mohammed_A_3
Beginner
963 Views

I don't know what is going on. When I add this Plugin:

Name: admob-facebookads
Plugin ID: cordova-plugin-ad-admob-facebookads
[Do not check] Plugin is located in the Apache Cordova Plugins Registry
Repo URL: https://github.com/cranberrygame/cordova-plugin-ad-admob-facebookads

I get the following error down, but when I take out everything work. However, I need this plugin for AdMob Mediation. 

Debug Module Error:

uilding a Cordova 5.4.1 Project Preview application with Crosswalk 18.
Using platform cordova-android 5.0.0.
The application name is "AP Debug x18 HumHum"
The package name is "com.intel.appx.HumHum.xwalk18"
Plugin "cordova-plugin-crosswalk-webview" (1.6.1) installed.
Plugin "cordova-plugin-cdt-xwalk18" (1.0.0) installed.
Plugin "cordova-plugin-apx-webview" (1.0.0) installed.
Plugin "cordova-plugin-app-analyzer" (1.0.0) installed.
Plugin "cordova-plugin-app-analyzer-new" (1.0.0) installed.
Plugin "cordova-plugin-device" (1.1.1) installed.
Plugin "cordova-plugin-inappbrowser" (1.3.0) installed.
Plugin "cordova-plugin-splashscreen" (3.2.0) installed.
Plugin "cordova-plugin-statusbar" (2.1.0) installed.
Plugin "cordova-plugin-extras-google-play-services" (1.0.5) installed.
Plugin "cordova-plugin-ad-admob-sdk" (1.0.34) installed.
Plugin "cordova-plugin-ad-admob" (1.0.112) installed.
Plugin "cordova-plugin-extras-android-support-library-v4" (1.0.1) installed.
Plugin "cordova-plugin-ad-admob-facebookads" (1.0.23) installed.
Plugin "cordova-plugin-file" (4.1.0) installed.
Plugin "cordova-plugin-network-information" (1.2.0) installed.
Plugin "cordova-plugin-whitelist" (1.2.1) installed.
Plugin "com.intel.xdk.ppfa" (1.0) installed.
App name updated to [AP Debug x18 HumHum]
Updated "minSdkVersion" with "14"
Updated "targetSdkVersion" with "23"
Updated "installLocation" to "auto"
Updated "versionCode" to "1"
Updated "versionName" to "1.0.0.0"
Error: A build error occurred. Check the build log.

Please Look at my build log File. In the attachment.

can someone Help me.

Thank you.

0 Kudos
3 Replies
PaulF_IntelCorp
Employee
963 Views

What you're showing is a Debug Module build. What happens if you change the Build Settings on the Projects tab to CW17, rather than CW18?

If that does not help, can you build on the Build tab? If that works, see this article for instructions on how to debug a built app > https://software.intel.com/en-us/xdk/docs/intel-xdk-debug-and-test-overview#RemoteChromeDevTools <

 

0 Kudos
Mohammed_A_3
Beginner
963 Views

the same problem it won't work for both the debug and build :(

Build Log

  • Building a Cordova 5.4.1 application.
  • Using platform cordova-android 5.0.0.
  • The application name is "HumHum"
  • The package name is "com.alajajm.humhum"
  • Preference android-signed set to true. Application will be signed.
  • Using Crosswalk Embedded 17
  • Error: Plugin Device failed to install.
  • Error: Plugin InAppBrowser failed to install.
  • Error: Plugin Splashscreen failed to install.
  • Error: Plugin StatusBar failed to install.
  • Plugin "cordova-plugin-extras-google-play-services" (1.0.5) installed.
  • Plugin "cordova-plugin-ad-admob-sdk" (1.0.34) installed.
  • Plugin "cordova-plugin-ad-admob" (1.0.112) installed.
  • Plugin "cordova-plugin-extras-android-support-library-v4" (1.0.1) installed.
  • Plugin "cordova-plugin-ad-admob-facebookads" (1.0.23) installed.
  • Plugin "cordova-plugin-legacy-whitelist" (1.1.1) installed.
  • Plugin "cordova-plugin-crosswalk-webview" (1.5.0) installed.
0 Kudos
PaulF_IntelCorp
Employee
963 Views

I believe the extras-android-support-library-v4 is causing the troubles. But to be sure, you'll need to remove it to see if it fixes the build errors. If that does not fix it, try removing another and rebuilding, etc. until you figure out which one is causing the trouble.

0 Kudos
Reply