Skip to content

fix(android): Read APK manifest and resources.arsc from the root only - #725

Open
sentry-junior[bot] wants to merge 1 commit into
mainfrom
fix/apk-root-manifest
Open

sentry-junior[bot] wants to merge 1 commit into
mainfrom
fix/apk-root-manifest

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

APK.get_manifest() and get_resource_tables() searched the whole extracted APK for AndroidManifest.xml / resources.arsc and raised if they found more than one. Some APKs ship a stray library copy (seen in prod: deeplinkdispatch/AndroidManifest.xml next to the real root manifest), so preprocessing failed with Multiple AndroidManifest.xml files found in APK.

Android only reads both files from the APK root, so read them from there and ignore any nested copies.

Fixes LAUNCHPAD-9R
Fixes LAUNCHPAD-9Q

via Hector.

--

View Junior Session [Sentry]

Android only reads AndroidManifest.xml and resources.arsc from the APK
root. Searching the whole tree failed on APKs where a library ships a
stray nested copy, e.g. deeplinkdispatch/AndroidManifest.xml.

Fixes LAUNCHPAD-9R

Co-Authored-By: Hector Dearman <hector.dearman@sentry.io>
@sentry

sentry Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

📲 Install Builds

iOS

🔗 App Name App ID Version Configuration
HackerNews com.emergetools.hackernews 3.8 (1) Release

Android

🔗 App Name App ID Version Configuration
Hacker News com.emergetools.hackernews 1.0.2 (13) Release

⚙️ launchpad-test-android Build Distribution Settings

@sentry

sentry Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Size Analysis

2 components analyzed

iOS Builds

Name Configuration Version Download Size Install Size
HackerNews (iOS)
com.emergetools.hackernews
Release 3.8 (1) 6.5 MB (0 B) 9.7 MB (0 B)

Android Builds

Name Configuration Version Download Size Uncompressed Size
Hacker News (Android)
com.emergetools.hackernews
Release 1.0.2 (13) 2.9 MB (-24 B) 6.6 MB (-4 B)

Configure launchpad-test-ios status check rules

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

Successfully merging this pull request may close these issues.

0 participants