.NET for Android provides open-source bindings of the Android SDK for use with .NET managed languages such as C#
1.92k
stars
526
forks
source link
Binding Stripe SDK, building / packaging creates an unusable aar #9305
Open
svaldetero opened 4 days ago
Android framework version
net8.0-android
Affected platform version
.net 8.0.401 (windows), .net 8.0.31 (macos)
Description
I'm building an android binding library (https://github.com/Envoc/envoc-stripe-binding/tree/android-3.8.0) for the Stripe SDK (https://github.com/stripe/stripe-terminal-android). I have built and shipped previous versions successfully (https://www.nuget.org/packages/Envoc.Stripe.Terminal.Android). However, when I try to build / package this version, it generates a 13MB .aar but when the build finishes, it is just a 1KB ,aar with nothing in it. If I copy out the 13MB file mid-build, it looks like it has a bunch of the native libraries inside of it. I'm not sure why it shrinks down. If I unzip previous nuget packages, it has the full-size aar inside of it.
Steps to Reproduce
binlog.txt
Did you find any workaround?
no
Relevant log output
No response