Getting gap_init prompts when using Crosswalk xWalkView

So I have a project where we are using Crosswalk. In this project in the index.html the line
<script> cordova.js</script> was commented.

So everything was working fine without any problems. Now due to some new requirements I need to use the cordova.js file.

On uncommenting it, building and running the android app , I get the following JS prompt as soon as the app starts.

After a lot of debugging I found out that using the Crosswalk library causes this issue. Removing the code for Crosswalk would also remove these prompts.

These are the prompts. It seems that some people on this forum have faced this issue but no one has found an conclusive solution for this.

gap_init:3
gap:[null,“CoreAndroid”,“messageChannel”,“CoreAndroid1311606310”]
gap:[null,“CoreAndroid”,“show”,“CoreAndroid1311606311”]
gap:[null,“Device”,“getDeviceInfo”,“Device1311606312”]

What would be causing this? Thanks!