Skip to content

The add-on can't be used on Android #334

Open

Description

@arunb950

Godot version

4.7.2

Godot Git Plugin version

3.2.1

System information

Android Arm64

Issue description

Image

Steps to reproduce

figure it yourself out ,
adding plugin from github release
or asset browser

Activity

  1. Calinou commented on Oct 20, 2026

    @Calinou
    Member

    #282 adds Android builds to CI (I aim to create a release for it soon). The compiled library is run successfully, but the extension doesn't seem to be usable due to file permission issues:

    Godot Engine v4.7.2.stable.official (c) 2007-present Juan Linietsky, Ariel Manzur & Godot Contributors.
    --- Debug adapter server started on port 6006 ---
      WARNING: drivers/vulkan/rendering_device_driver_vulkan.cpp:3767 - The requested V-Sync mode Disabled is not available. Falling back to V-Sync mode Enabled.
    --- GDScript language server started on port 6005 ---
    Set color_preset
    Set color_preset
      ERROR: drivers/unix/dir_access_unix.cpp:739 - Parameter "getcwd(real_current_dir_name, 2048)" is null.
      ERROR: drivers/unix/dir_access_unix.cpp:351 - Parameter "getcwd(real_current_dir_name, 2048)" is null.
      ERROR: platform/android/dir_access_jandroid.cpp:67 - Condition "id == 0" is true. Returning: ""
      WARNING: core/variant/variant_utility.cpp:1033 - Could not find any higher level repositories.
    Selected repository path: /storage/emulated/0/Documents/gittest.
      ERROR: core/variant/variant_utility.cpp:1023 - GitPlugin: Could not initialize repository. Error -36: repository path '/storage/emulated/0/Documents/gittest' is not owned by current user in godot-git-plugin/src/git_plugin.cpp:_initialize#L698
      ERROR: Could not initialize GitPlugin
      ERROR: No VCS plugin is initialized. Select a Version Control Plugin from Project menu.
      ERROR: No VCS plugin is initialized. Select a Version Control Plugin from Project menu.
    

    I suppose this is due to Android scoped storage? I'm using Android 16 and Godot 4.7.2 from Play Store to run the CI build.

    This seems to be related to an issue that can also be encountered on desktop (mostly in WSL): https://stackoverflow.com/questions/73485958/how-to-correct-git-reporting-detected-dubious-ownership-in-repository-withou#73488472

    It can be worked around by adding an exception using git config, but there's no way to use it for the copy of Git included in this add-on.

  2. changed the title [-]android is not recognizing extension[/-] [+]The add-on can't be used on Android[/+] on Oct 20, 2026
  3. arunb950 commented on Oct 31, 2026

    @arunb950
    Author

    @Calinou that means the plugin wont recieve update for this issue?

  4. Calinou commented on Nov 1, 2026

    @Calinou
    Member

    6. @Calinou that means the plugin wont recieve update for this issue?

    PRs are welcome to fix the issue, but I don't have time to look into this extensively. I can review PRs that aim to fix this still.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions