Replies: 1 comment 2 replies
-
Flecs.NET does not currently build native libraries for Android. If you would like to try to add support for Android, you can look into modifying the zig build script to handle Android targets. In the zig script, you need to add a new switch case for Android platforms and include the correct paths to the Android SDK's Flecs.NET/src/Flecs.NET.Native/build.zig Lines 163 to 170 in caddc4c The .csproj then needs to be updated to pass Android-specific build arguments to zig like below. Flecs.NET/src/Flecs.NET.Native/Flecs.NET.Native.csproj Lines 120 to 125 in caddc4c An example of what the above might look like for Android. <When Condition="$(RuntimeIdentifier) == 'android-arm64'">
<PropertyGroup>
<ZigIdentifier>aarch64-linux-android</ZigIdentifier>
<ZigArgs>--sysroot $(ANDROID_SDK)</ZigArgs>
</PropertyGroup>
</When> |
Beta Was this translation helpful? Give feedback.
-
I directly reference it in godot c# project .csporj file, and then export it to android(arm64-v8a)
But when I create a "World" use World.Create(), it emits can't find "flecs" dll error.
I just wan to know it this project support compile directly to android, or what i can do to support it?
Beta Was this translation helpful? Give feedback.
All reactions