Need help with: ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

18 views
Skip to first unread message

Cube123

unread,
Apr 12, 2026, 1:10:18 PM (12 days ago) Apr 12
to Kivy users support

Hello,

I am getting the following error when trying to create a new release AAB file for my Kivy app:

ERROR Backend 'setuptools.build_meta:__legacy__' is not available.

My current configuration is:

  • android.api = 36
  • android.minapi = 24
  • android.ndk = 28c
  • android.archs = arm64-v8a
  • p4a.branch = develop

I am confused because previous builds worked correctly, but this issue has started occurring recently.

To try to fix it, I have already attempted the following:

  • Installed/downgraded:
    • setuptools (82 → 65.5.0)
    • wheel (0.46.3 → 0.43.0)
    • pip (26.0.1 → 23.3.1)
  • Changed p4a.branch to stable and also tried master
  • Attempted to bypass build isolation using:
    • PIP_NO_BUILD_ISOLATION=0 and PIP_NO_BUILD_ISOLATION=1 before running the build

Despite all of this, the error still persists.

Has anyone encountered this issue or knows how to resolve it?

Thank you very much!

Reply all
Reply to author
Forward
0 new messages