Software Archive
Read-only legacy content
17061 Discussions

BUILD FAILURE in android project XDL 3491

Andrejs_V_
Beginner
362 Views

Hi!

when I try to build my app I get this error

Eror: Plugin CDVBackgroundGeolocation cannot be added. The plugin contains Gradle scripts.

========================

As I can see it is common problem , but how I can resolve this or how I can use another plugin for background geolocation for android & iOS?

 

 

 

0 Kudos
2 Replies
Andrejs_V_
Beginner
362 Views

full list of build error

Build Log

  • Building a Cordova 6.2.0 application.
  • Using platform cordova-android 5.1.1.
  • The application name is "backgeotest"
  • The package name is "xdk.intel.blank.ad.template.crosswalk"
  • Preference android-signed set to true. Application will be signed.
  • Using Crosswalk Embedded 18
  • Plugin "cordova-plugin-statusbar" (2.1.3) installed.
  • Plugin "cordova-plugin-device" (1.1.2) installed.
  • Plugin "cordova-plugin-splashscreen" (3.2.2) installed.
  • Error: Plugin CDVBackgroundGeolocation cannot be added. The plugin contains Gradle scripts.
  • Plugin "cordova-plugin-background-app" (2.0.2) installed.
  • Plugin "cordova-plugin-compat" (1.0.0) installed.
  • Plugin "cordova-plugin-geolocation" (2.2.0) installed.
  • Plugin "cordova-plugin-whitelist" (1.2.2) installed.
  • Plugin "cordova-plugin-crosswalk-webview" (1.6.1) installed.
0 Kudos
Andrejs_V_
Beginner
362 Views

Resolved!

If it will can helpful for another developers:

1. I get error when try use plugin 

cordova-plugin-mauron85-background-geolocation

 

but:

2. when I try use fork

all was build OK.
 
so , best wishes for Yours apps !
0 Kudos
Reply