Search
Setup for Free
S
Silk.NET
•
3y ago
Perksey
i think we use whatever we used on xamarin
i think we use whatever we used on xamarin
Silk.NET
Join
A Discord server for the Silk.NET - your one-stop-shop for high-speed .NET multimedia, graphics, and compute. FOSS.
1,788
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
P
Perksey
OP
•
1/13/23, 5:37 PM
which should still work
I
Igorko
For some reason, it needs BLUETOOTH_CONNECT permission? Adding <uses-permission ...
P
Perksey
OP
•
1/13/23, 5:38 PM
both of these issues you can
't resolve really
, you can attempt to reduce the size issue by enabling linking but fundamentally you kinda need assemblies to run a
.NET application
!
P
Perksey
OP
•
1/13/23, 5:38 PM
as for the bluetooth thing i have no idea why SDL needs it but it does
P
Perksey
i think we use whatever we used on xamarin
T
TechPizza
•
1/13/23, 5:43 PM
putting them in an undocumented folder in the nuget ain
't working anymore chief
T
TechPizza
•
1/13/23, 5:44 PM
you need to put them into a different path
, compressed into an android bundle
, and mark them to be imported
T
TechPizza
•
1/13/23, 5:44 PM
luckily android bundles are literally just zips so you can create them easily
T
TechPizza
•
1/13/23, 5:45 PM
this changed in the middle of net6 some good time ago
P
Perksey
OP
•
1/13/23, 5:45 PM
yeah no we don
't do that
P
Perksey
OP
•
1/13/23, 5:45 PM
we have explicit msbuild targets just as we did with xamarin
T
TechPizza
•
1/13/23, 5:45 PM
well
, the way i described is the recommended solution now
T
TechPizza
•
1/13/23, 5:46 PM
and anything i tried to use in net6
+ for android was broken
T
TechPizza
•
1/13/23, 5:46 PM
i honestly don
't understand why nuget is so moronic when it comes to native libs
P
Perksey
OP
•
1/13/23, 5:47 PM
oh nvm that
's what we do with ios
P
Perksey
OP
•
1/13/23, 5:47 PM
on android we just have a
.aar next to the
.dll
T
TechPizza
•
1/13/23, 5:47 PM
yeah ios stayed the same i think
P
Perksey
on android we just have a .aar next to the .dll
T
TechPizza
•
1/13/23, 5:48 PM
yup
, that
's the bundle bs
P
Perksey
OP
•
1/13/23, 5:48 PM
our ios solution is so chaotic
P
Perksey
OP
•
1/13/23, 5:48 PM
https://github.com/dotnet/Silk.NET/blob/main/src/Windowing/Silk.NET.Windowing.Sdl/Silk.NET.Windowing.Sdl.csproj#L38
https://github.com/dotnet/Silk.NET/blob/main/src/Windowing/Silk.NET.Windowing.Sdl/iOS/Silk.NET.Windowing.Sdl.targets
T
TechPizza
•
1/13/23, 5:48 PM
looks
.
.
. as expected
T
TechPizza
•
1/13/23, 5:50 PM
i went through some hellish troubles to figure out how to package veldrid
-spirv the modern way
T
TechPizza
•
1/13/23, 5:50 PM
there are like no docs at all
T
TechPizza
•
1/13/23, 5:51 PM
and issues on the nuget repo about lack of docs just tell you to look how other projects do it
P
Perksey
OP
•
1/13/23, 5:51 PM
yeah i really dislike nuget and msbuild
P
Perksey
OP
•
1/13/23, 5:51 PM
i like how modern msbuild hides the complexity though
P
Perksey
OP
•
1/13/23, 5:51 PM
.
.
.until it doesn
't
T
TechPizza
•
1/13/23, 5:52 PM
if only c
# was a simple as
"invoke compiler
" and you
're done
:
(
T
TechPizza
•
1/13/23, 5:53 PM
i take cursed msbuild xml over cmake though
P
Perksey
OP
•
1/13/23, 5:53 PM
yeah i mean cmake is a low bar though
T
TechPizza
can you try getting a plain net7 android app working first
I
Igorko
•
1/13/23, 5:53 PM
i will be doing that in a moment
I
Igorko
•
1/13/23, 6:11 PM
just tried building and running android app template
, and it seems to have missing assemblies as well
I
Igorko
•
1/13/23, 6:11 PM
i tried it on
.net6
, currently downloading
.net7 to see if its any different
P
Perksey
OP
•
1/13/23, 6:11 PM
have you tried
dotnet build -c release
dotnet build -c release
P
Perksey
have you tried `dotnet build -c release`
I
Igorko
•
1/13/23, 6:11 PM
nope
I
Igorko
•
1/13/23, 6:11 PM
gonna try rn
P
Perksey
have you tried `dotnet build -c release`
I
Igorko
•
1/13/23, 6:21 PM
okay
, this did help
I
Igorko
•
1/13/23, 6:22 PM
dotnet included assemblies into apk without
<EmbedAssembliesIntoApk
>true
<
/EmbedAssembliesIntoApk
>
,and also optimized them for size
I
Igorko
•
1/13/23, 6:22 PM
however building android demo from silk failed
I
Igorko
•
1/13/23, 6:23 PM
L
Lyris the Kitori
•
1/13/23, 6:24 PM
lmao mono compiler crash classic
P
Perksey
OP
•
1/13/23, 6:29 PM
uuuuuhhhhhhhhhhhhh
I
Igorko
Click to see attachment
T
TechPizza
•
1/13/23, 6:36 PM
try net7 i guess
I
Igorko
•
1/13/23, 6:37 PM
yeah
, installing workloads on net7 right now
T
TechPizza
•
1/13/23, 6:37 PM
net7
-android works great on windows at least
¯\_(ツ)_/¯
P
Perksey
OP
•
1/13/23, 6:39 PM
let the record show
P
Perksey
OP
•
1/13/23, 6:39 PM
I hate mono
L
Lyris the Kitori
•
1/13/23, 6:39 PM
:
B
:ono
L
Lyris the Kitori
•
1/13/23, 6:39 PM
darn
P
Perksey
OP
•
1/13/23, 6:39 PM
ono
P
Perksey
OP
•
1/13/23, 6:39 PM
come on you use Linux you should know all about case sensitivity
L
Lyris the Kitori
•
1/13/23, 6:40 PM
windows is also uses a case sensitive filesystem
Next page
dotnet build -c release
dotnet build -c release
Similar Threads
Small Thread on Online Presence cause I want to know your thoughts
S
Silk.NET / team-talk
3y ago
clang on OSX
S
Silk.NET / team-talk
4y ago