Skip to content

Fix Android APK installation and enable AOT - #185

Merged
winnerspiros merged 1 commit into
masterfrom
android-fix-apk-install-and-enable-aot-8727632183689944800
Apr 12, 2026
Merged

Fix Android APK installation and enable AOT#185
winnerspiros merged 1 commit into
masterfrom
android-fix-apk-install-and-enable-aot-8727632183689944800

Conversation

@google-labs-jules

Copy link
Copy Markdown

This change resolves the INSTALL_PARSE_FAILED_NO_CERTIFICATES error observed when installing APKs built via GitHub Actions.

Key improvements:

  • Build Workflow Fixes: Cleaned up contradictory AndroidKeyStore flags in .github/workflows/release.yml. Updated the APK discovery logic to prioritize the publish/ subdirectory, ensuring that the final signed artifact is captured instead of intermediate unsigned binaries.
  • AOT Compilation: Enabled RunAOTCompilation and AndroidEnableProfiledAot in osu.Android.props to restore the performance optimizations found in the last known good build.
  • Manifest Adjustments: Added android:extractNativeLibs="true" to AndroidManifest.xml to ensure compatibility with modern Android signature verification and page-aligned native libraries.
  • .NET 10 Compatibility: Retained critical fixes for native asset classification in .NET 10 and suppressed trim analysis warnings to avoid fatal linker errors in reflection-heavy code.

PR created automatically by Jules for task 8727632183689944800 started by @winnerspiros

- Cleaned up conflicting AndroidKeyStore flags in build workflow.
- Updated workflow to capture signed APK from publish/ directory.
- Enabled RunAOTCompilation and AndroidEnableProfiledAot for Release builds.
- Ensured android:extractNativeLibs is true for signature verification compatibility.
- Maintained .NET 10 native asset classification fixes.
@google-labs-jules

Copy link
Copy Markdown
Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@winnerspiros
winnerspiros merged commit 3859e9c into master Apr 12, 2026
6 of 15 checks passed
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.

1 participant