Error after installing Cordova-plugin-firebase (:app:mergeDebugResources')

Hey all,

I have been trying to resolve this problem for a wile now. So on my project I keep getting this error after trying to run the app to my phone.

What went wrong:
Execution failed for task ‘:app:mergeDebugResources’.
Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error:

So I created a new project and only installed the plugin but it keeps getting the same error :confused:

ionic info :

ionic (Ionic CLI) : 4.2.1 (C:\Users.…\AppData\Roaming\nvm\v8.9.4\node_modules\ionic)
Ionic Framework : ionic-angular 3.9.2
@ionic/app-scripts : 3.2.0

Cordova:

cordova (Cordova CLI) : 8.1.2 (cordova-lib@8.1.1)
Cordova Platforms : android 7.1.2
Cordova Plugins : cordova-plugin-ionic-keyboard 2.1.3, cordova-plugin-ionic-webview 2.2.5, (and 5 other plugins)

System:

Android SDK Tools : 26.1.1 (D:\Programas\AndroidSDK)
NodeJS : v8.9.4 (C:\Program Files\nodejs\node.exe)
npm : 5.6.0
OS : Windows 10

What I did to install the plugin :
ionic cordova plugin add cordova-plugin-firebase
npm install --save @ionic-native/firebase
npm install --save angularfire2 firebase

I can run the app if I do : Ionic serve, only getting the error when trying to run to the phone, if I remove the plugin I can again run in to the phone

Any suggestions to how solve this problem ?

Thanks

Still with this problem, anyone with a suggestion ?
Much appreciated