PhoneGap Build plugins incompatible issue

  • 1
  • Problem
  • Updated 5 years ago
  • In Progress
I am getting this error for Android build:

Error - Two of the plugins in your app are incompatible as they both add a file with the same name. View logs to find which plugins are causing this issue.

The log does not show anything useful, so I examined the plugin.xml of both plugins, and found the following:

[source-file src="src/android/org/apache/cordova/api/Dummy.java" target-dir="src/org/apache/cordova/api"/]

Dummy.java contains an empty class, with some comments saying 'dummy class to ensure the org.apache.cordova.api package exists'

Is there a way to force PhoneGap Build to simply overwrite files in this instance?
Photo of Chau Cheng Chai

Chau Cheng Chai

  • 3 Posts
  • 0 Reply Likes

Posted 5 years ago

  • 1
Photo of Amir

Amir

  • 8261 Posts
  • 263 Reply Likes
Hi

Can you share your build appid? It can be found at the URL bar:
https://build.phonegap.com/apps/xxxxxxx

Thanks

Photo of Chau Cheng Chai

Chau Cheng Chai

  • 3 Posts
  • 0 Reply Likes
My App ID is 1521403.

You can reproduce the problem by including following plugins in config.xml:

[gap:plugin name="com.chariotsolutions.nfc.plugin" version="0.5.1" /]
[gap:plugin name="com.megster.cordova.bluetoothserial" version="0.3.3" /]
Photo of Michael J Wanyama

Michael J Wanyama

  • 62 Posts
  • 1 Reply Like
Hey Chau Cheng Chai,

Were you able to resolve this?
Photo of Chau Cheng Chai

Chau Cheng Chai

  • 3 Posts
  • 0 Reply Likes
Yes, the plugin author has updated the code.