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

[Feature]: Capacitor Android: Missing Debug Symbols in Generated App Bundle #7687

Open
1 of 3 tasks
tarektaamali opened this issue Oct 1, 2024 · 10 comments
Open
1 of 3 tasks

Comments

@tarektaamali
Copy link

Description

The App Bundle should include native debug symbols (BUNDLE-METADATA/com.android.tools.debugsymbols) to facilitate debugging and crash reporting.

Platforms

  • iOS
  • Android
  • Web

Request or proposed solution

The App Bundle should include native debug symbols (BUNDLE-METADATA/com.android.tools.debugsymbols) to facilitate debugging and crash reporting.

Alternatives

No response

Additional Information

No response

@tarektaamali
Copy link
Author

#7673 (comment)

@jcesarmobile
Copy link
Member

The other issue was closed because it looked like you were referring to appflow builds, not to regular Capacitor local builds.
Some questions were asked there, can you answer them here and provide more information and a sample app that reproduces the issue with steps to reproduce? this new issue have even less information that the first one.

@jcesarmobile jcesarmobile added the needs reply needs reply from the user label Oct 1, 2024
@ionitron-bot ionitron-bot bot removed the triage label Oct 1, 2024
@tarektaamali
Copy link
Author

@jcesarmobile @eric-horodyski The issue is not related to Appflow. Whether in Appflow or when building on the local laptop, the same issue and result occur. I don't understand why the bug was closed, as it's easy to reproduce this bug.

@Ionitron Ionitron removed the needs reply needs reply from the user label Oct 1, 2024
@tarektaamali
Copy link
Author

To reproduce this issue, create a Capacitor project and deploy it to the Google Play Console.

@jcesarmobile
Copy link
Member

Please, provide a sample app and steps to reproduce or this issue will be closed too.

@jcesarmobile jcesarmobile added needs reply needs reply from the user needs discussion decisions must be made before working on it and removed needs discussion decisions must be made before working on it labels Oct 1, 2024
@tarektaamali
Copy link
Author

tarektaamali commented Oct 1, 2024

Create a project ionic + capacitor .
Generate a signed bundle with Build -> Generate Signed App Bundle / APK and press analyze in the popup that appears.

image

after upload bundle in google play
image

The bundle does not include debug symbols.
@jcesarmobile Would you like to upload a sample project to GitHub?

@Ionitron Ionitron removed the needs reply needs reply from the user label Oct 1, 2024
@jcesarmobile
Copy link
Member

yes, please

@tarektaamali
Copy link
Author

This is a sample project to reproduce the issue. @jcesarmobile @eric-horodyski
https://github.com/tarektaamali/sampleAppReproduceBugCapacitor

@tarektaamali
Copy link
Author

tarektaamali commented Oct 2, 2024

Note: @jcesarmobile For example, when building a bundle using the Flutter framework, the bundle includes debug symbol files (*.so).
I don't understand why this isn't the case when using Capacitor for the same process.

image

@tarektaamali
Copy link
Author

tarektaamali commented Nov 14, 2024

Hello @jcesarmobile,
Regarding moving debug symbols into the App Bundle: I can use a script or Gradle task to copy the debug symbols into the App Bundle’s metadata directory. I’ll try this solution. Do you think it will work, and is it considered best practice?
cc @eric-horodyski

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants