Skip to content

add support for 'android:hasCode="false"' and update "examples/minimal" to use it #33

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

Merged

Conversation

silbinarywolf
Copy link
Owner

@silbinarywolf silbinarywolf commented May 6, 2025

Allow projects to have an AndroidManifest.xml file that has android:hasCode="false" as per Android documentation here:
https://developer.android.com/ndk/samples/sample_na

Changes

  • removes validation rules around requiring Java files
  • simplifies the minimal example to no longer require Java
  • fixes src/android/android.zig to compile on latest Zig nightly

Fixes #32

@silbinarywolf silbinarywolf merged commit 4caa73e into main May 6, 2025
3 checks passed
@silbinarywolf silbinarywolf deleted the fix/support-has-code-being-false-in-AndroidManifest-xml branch May 6, 2025 04:36
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.

java code not strictly required
1 participant