"Internal Server Error" in native extensions on Windows (SOLVED)

Hello,

I’ve been trying to build a native extension and I’m using a new empty project so that I can make some tests.

I started by copying the example extension in the manuals but whenever I build and launch, an error with the description “Internal Server Error” shows up pointing to the “ext.manifest”. I thought I could be doing something wrong so I just added the VideoPlayer demo extension as a dependency but I’m still getting the same error now in the added extension’s manifest.

Hi!
What OS are you building for, and what version of Defold are you running? :slight_smile:

I’ve been building and launching on Windows 10, using the latest updated version of Defold (not editor 2)

Ouch!
As described at the bottom of the native extension manual there is no support for Windows at the moment. We are actively working on adding support for more platforms in the native extension system though, but I can’t promise you a timeframe currently. :confused:

Oh sorry my bad, I’m just used to doing tests on Windows instead of directly on Android. Will it work if I build it targetting the phone with dmengine?

1 Like

Yes, you should still be able to bundle for Android, with projects that has native extensions, on Windows! :slight_smile:

1 Like

The bundle did work, thanks! It’s still showing the error if building when targetting the phone with dmengine app though.

Ah now I understand, yes that might be a problem. You will not be able to build and upload a new engine binary through the target system (using dmengine APK), it would need to be rebundled sadly.

I see, thanks for the help still!

1 Like