2
0
mirror of https://github.com/raylib-cs/raylib-cs synced 2025-09-09 03:01:41 -04:00

turn Raylib-cs.Android into android library

This commit is contained in:
anggape
2023-07-24 18:16:40 +07:00
parent 059351cc12
commit ed58477dd9
29 changed files with 54 additions and 17 deletions

View File

@@ -0,0 +1,20 @@
```sh
# clear nuget local cache if you install raylib-cs from nuget before
dotnet nuget locals all --clear
# install android sdk requirements
# or just install it from visual studio
sdkmanager "build-tools;34.0.0" "ndk;25.2.9519653" "platforms;android-34"
# install android workload
dotnet workload install android
# download artifact.zip from https://github.com/anggape/Raylib-cs/actions/runs/5630394074 and extract it
dotnet restore --source <path to extracted artifact.zip>
# connect your android device or create new emulator
adb devices # make sure your device there
# run project
dotnet run
```