thanks for your suggestion: changing the Play services definition in the AppsFlyer plugin allowed me to build for Android with Cordova 5.0.0.
However the app now doesn't even start, just a blank screen and it logs:
deviceready has not fired after 5 seconds. cordova.js:1185
Channel not fired: onCordovaReady cordova.js:1178
Channel not fired: onCordovaInfoReady cordova.js:1178
Channel not fired: onCordovaConnectionReady cordova.js:1178
I ran 'appbuilder device log' and I am attaching the result.
I really don't know how to use that info, maybe you will find a clue.