I already read the following.
https://www.scirra.com/tutorials/781/ho ... b-cocoonjs
but the problem I am having is when I try to create a Android APK on the cocoonjs I just get a blank black screen. So I tried to find a solution for that but there is no solution for that. So when I try to create the android apk with crosswalk intel XDK the game is working fine but I can't get the ads on it. I tried to use a ad-on tool to display html page as ads but the problem with that is the ad is opening inside the app and can't close or go back after that. Basically when someone clicks on the ad they are stuck.
If there is a plugin for displaying ads on Crosswalk intel XDK, that will be great!