Hi guys!

Firstly, I have very very little experience in building Android apps, so I apologize if this is a silly question. I am having a perplexing issue... When generating a previously functional application into Android I am getting the following error:

"Error compiling Cordova plugin: ."

I am using three plugins:

- https://www.outsystems.com/forge/component/1417/common-plugin/

- https://www.outsystems.com/forge/component/1390/camera-plugin/

- https://www.outsystems.com/forge/component/1934/barcode-scanner-plugin/

I am guessing that it is a problem with the parameters / version specified in the plugin's github url under extensibility configurations, but I have no idea how to fix / modify the AndroidManifest.xml file that gets generated when I click "Generate". Should also note that this app was last generated on the 24'th of May 2018. I have attached the Android Build Log file. The issue seems to have something to do with the following:

"/tmp/build/source/platforms/android/build/intermediates/manifests/full/debug/AndroidManifest.xml:31: AAPT: No resource identifier found for attribute 'appComponentFactory' in package 'android'"

Any help on how to fix this (or where to look for a solution) would be deeply appreciated!


Hi Chris,

It seems you are using an old version of the cordova plugin "PhoneGap Plugin BarcodeScanner". See if this works:

  • Open the Barcode Scanner Plugin
  • In the properties of the module there's the Extensibility Configuration
  • Edit that and change the git path to a more recent version.

You can see here the cordova plugin:


And this is the latest version (try setting this in the Extensibility Configuration property:


It's possible that you will have to do something else...

Tell us if this worked out.




Thanks Jose!

Me and Joao Martins got to the same solution a few minutes ago! I am attaching a screenshot...

This also seems to be the solution for the second half of this discussion...