SDL3-CS.Android
3.4.12.1
dotnet add package SDL3-CS.Android --version 3.4.12.1
NuGet\Install-Package SDL3-CS.Android -Version 3.4.12.1
<PackageReference Include="SDL3-CS.Android" Version="3.4.12.1" />
<PackageVersion Include="SDL3-CS.Android" Version="3.4.12.1" />
<PackageReference Include="SDL3-CS.Android" />
paket add SDL3-CS.Android --version 3.4.12.1
#r "nuget: SDL3-CS.Android, 3.4.12.1"
#:package SDL3-CS.Android@3.4.12.1
#addin nuget:?package=SDL3-CS.Android&version=3.4.12.1
#tool nuget:?package=SDL3-CS.Android&version=3.4.12.1
SDL3-CS.Android
<p align="center"> <img alt="Android native package" src="https://img.shields.io/badge/platform-Android-555?style=flat-square"> <img alt="SDL3" src="https://img.shields.io/badge/component-SDL3-239120?style=flat-square"> <img alt="SDL 3.4.12" src="https://img.shields.io/badge/native-SDL%203.4.12-004880?style=flat-square"> </p>
SDL3-CS.Android contains base SDL runtime libraries required by SDL3-CS applications for Android applications that use SDL3-CS.
When To Use This Package
Use this package when a .NET application targets Android and needs windowing, events, rendering, audio, input, files, threading, timers, and the rest of the core SDL3 API. Keep all SDL3-CS packages in the same application on the same platform family; do not mix SDL3-CS.Android with native packages from another platform family.
Native Version
| Package | Native library version | Package line |
|---|---|---|
SDL3-CS.Android |
SDL 3.4.12 | 3.4.12.x |
Supported Runtime Identifiers
android-armandroid-arm64android-x86android-x64
Package Contents
runtimes/<rid>/native/assets for each supported runtime identifier.buildTransitive/SDL3-CS.Android.targetsfor package-time native asset integration.README.md,LICENSE, and the SDL3-CS package icon for NuGet display.- No application entry point and no managed SDL wrapper API beyond any bridge bindings required by the platform.
Native asset mode: Android ABI-specific native libraries and, for the base package, SDLActivity bridge bindings.
Android Bridge
The base Android package also includes the SDL Java bridge binding. Android apps can inherit from Org.Libsdl.App.SDLActivity, override GetLibraries() to load SDL3, and run managed SDL code from the activity Main() override. See the Android example README under ../../SDL3-CS.Examples/Android/AndroidCircularColorFade.
Installation
dotnet add package SDL3-CS
dotnet add package SDL3-CS.Android
Companion Packages
| Package | Native component | Use when you need |
|---|---|---|
SDL3-CS.Android |
SDL 3.4.12 | Core SDL3 runtime assets. |
SDL3-CS.Android.Image |
SDL_image 3.4.4 | Image loading and saving. |
SDL3-CS.Android.TTF |
SDL_ttf 3.2.2 | Font and text rendering APIs. |
SDL3-CS.Android.Mixer |
SDL_mixer 3.2.4 | Music and mixer playback APIs. |
SDL3-CS.Android.Shadercross |
SDL_shadercross 3.0.0 | Shader translation APIs. |
Build From This Repository
From the repository root:
dotnet pack .\SDL3-CS.NativePackages\SDL3-CS.Android\SDL3-CS.Android.csproj -c Release
The release pipeline populates the lib/<rid>/ folders before packaging. A local pack without those native assets is useful only for metadata validation.
Verification Checklist
- The package RID list matches the release manifest and native artifact layout.
PackageReadmeFilepoints to this README.buildTransitivetargets are packed underbuildTransitive/$(PackageId).targets.- Applications reference
SDL3-CSplus the matching Android native package family.
Related Documentation
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. |
-
net10.0-android36.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on SDL3-CS.Android:
| Package | Downloads |
|---|---|
|
SdlVulkan.Renderer
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.