mirror of
https://github.com/0x7c13/Pal3.Unity.git
synced 2026-11-26 09:28:07 +08:00
Fix Android build: give SimpleFileBrowser AAR a unique namespace
Unity 6.5 bundles a newer Android Gradle Plugin (Gradle 9.1.0) that
enforces a unique namespace per library module. Both bundled yasirkula
plugins shipped their AAR with the same manifest package
`com.yasirkula.unity`, so `:launcher:processReleaseMainManifest` fails:
Namespace 'com.yasirkula.unity' is used in multiple modules and/or
libraries: :IngameDebugConsole:, :SimpleFileBrowser:
This broke both Android builds starting at the Unity 6.5 upgrade
(c946f895), independent of the unity-builder v4->v5 bump.
Change SimpleFileBrowser.aar's AndroidManifest.xml package to
`com.yasirkula.unity.simplefilebrowser` so the two libraries no longer
collide. The AAR has no resources/R class and the bundled Java classes
keep their `com.yasirkula.unity.*` fully-qualified names, so the
C#<->Java bridge is unaffected.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
6dda485bbe
commit
449dab2478
1 file changed
Binary file not shown.
Reference in new issue
Block a user