Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding Stripe SDK, building / packaging creates an unusable aar #9305

Open
svaldetero opened this issue Sep 16, 2024 · 0 comments
Open

Binding Stripe SDK, building / packaging creates an unusable aar #9305

svaldetero opened this issue Sep 16, 2024 · 0 comments
Assignees
Labels
needs-triage Issues that need to be assigned.

Comments

@svaldetero
Copy link

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.
dotnet build
shrunk
full

Steps to Reproduce

  1. Go to repo https://github.com/Envoc/envoc-stripe-binding/tree/android-3.8.0
  2. dotnet build -c Release -f net8.0-android
  3. Watch the bin / obj folders

binlog.txt

Did you find any workaround?

no

Relevant log output

No response

@svaldetero svaldetero added the needs-triage Issues that need to be assigned. label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-triage Issues that need to be assigned.
Projects
None yet
Development

No branches or pull requests

2 participants