- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Everyone,
Ever since the latest XDK update a few days ago, I kept on getting this error in the emulator - 'Missing API Emulation'. I then deleted the entire file from Intel XDK and re-uploaded the HTML5 without adding third party plugins, but the same error still occurred.
I also can't build my project using Crosswalk for Android as there would be an error whilst compiling.
I am using Construct 2 (release 206, 64-bit) as the game engine to build my android apps, importing the files as HTML5 using Construct 2 Cordova for Mobile export.
These problems have never occurred before the last update.
Thank you for your help and suggestions.
Lina.
- Tags:
- HTML5
- Intel® XDK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As mentioned above either you can use debug tab or build tab to see the expected result.
Cordova plugins generally consist of two parts: 1) JavaScript API and 2) underlying native code that is specific to the target platform (e.g., Java code for Android, Objective C code for iOS, etc.) The Intel XDK emulator is a simulator that simulates that native part, but only in a very generic way and only for a select number of Cordova APIs. For any APIs that it does not have an underlying "native simulation" it provides this message so you can at least exercise code. It doesn't actually simulate the underlying functionality, but it doeur code.
Ultimately, you need to run it on a real device with a real build, as you discovered.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Lina,
That is how the Emulate tab supports third-party plugins, there is no simulation of the native code. You need to use the Debug tab to get the full emulation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As mentioned above either you can use debug tab or build tab to see the expected result.
Cordova plugins generally consist of two parts: 1) JavaScript API and 2) underlying native code that is specific to the target platform (e.g., Java code for Android, Objective C code for iOS, etc.) The Intel XDK emulator is a simulator that simulates that native part, but only in a very generic way and only for a select number of Cordova APIs. For any APIs that it does not have an underlying "native simulation" it provides this message so you can at least exercise code. It doesn't actually simulate the underlying functionality, but it doeur code.
Ultimately, you need to run it on a real device with a real build, as you discovered.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for the replies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Lina, are you able to build your project using Crosswalk build? Let us know what error are you getting..

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page