I had this same error when building the engine from source (4.11) and launching the editor.
To solve when launching my C++ project from Visual Studio 2015, I built the following:
Development Win64
DebugGame Win64
Development Editor Win64
And then Debug->Start without debugging with Development Editor Win64.
For building for Android I needed JAVA_HOME set to JDK8 C:\Program Files\Java\jdk1.8.0_73. Reboot after setting JAVA_HOME. And I set the Android SDK/NDK API level to 21.
I figure it out. you must cook your project using particular editor. ex: if you want to use “debuggame” mode to debug your project, you must cook your project using “debuggame editor” mode.
I got this error when I tried using “ProjRoot”/Binaries/Win64 instead of “ProjRoot”/Saved/StagedBuilds/WindowsNoEditor. Probably not the most brilliant mistake.