With recent version of Intel XDK (3088) and Appodeal (1.14.9) plugin, building an app is not possible by just following official documentation. Many people complained about this one and I recieved a request to write tutorial of how to fix this issue (see here).
Tutorial: How to fix the build error with Intel XDK and Appodeal?