beeware / beeware/briefcase

`requirement_installer_args` doesn't work with Android on Windows

Open
#2,603 3 comments 0 reactions 0 assignees View on GitHub
android bug windows
Dominant language
Python
Stars
3.3k
Forks
549
Avg merge
1d 4h
Merged PRs (30d)
40

Description

### Describe the bug

Originally reported by @aendie in https://github.com/beeware/briefcase/issues/2587#issuecomment-3608735684

----

I get the error `no such option: --find-links`
I created the sgp4 wheel `sgp4-2.25-py3-none-any.whl` and moved it into a folder "wheels" beneath the file `pyproject.toml`, which begins as follows:

```
[tool.briefcase]
project_name = "Skyalmanac"
bundle = "com.example"
version = "0.0.1"
url = "https://example.com/skyalmanac"
license.file = "LICENSE"
author = "Andrew Developer"
author_email = "aendie.bauer@gmail.com"

[tool.briefcase.app.skyalmanac]
formal_name = "Skyalmanac"
description = "Skyalmanac for Android"
long_description = """This is equivalent to a mini-version of Skyalmanac
that is published in PyPI. It only supports creation of
Sun tables and the Nautical Almanac.
"""
sources = [
"src/skyalmanac",
]
test_sources = [
"tests",
]

requirement_installer_args = ["--find-links", "./wheels"]

requires = [
"numpy",
"pandas",
"skyfield==1.49"
]
test_requires = [
"pytest",
]
```

I run `briefcase create android` with `overwrite {y/N}? y` then run `briefcase build android`:

Image

[briefcase.2025_12_05-16_21_05.build.log](https://github.com/user-attachments/files/23964474/briefcase.2025_12_05-16_21_05.build.log)

Does this mean anything to you? I really appreciate a little help here.

### Environment

- Operating System: Android on WIndows
- Software versions:
- Briefcase: 0.3.25

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with the provided pyproject.toml, local wheels directory, and `briefcase create android` followed by `briefcase build android`. Trace how `requirement_installer_args` is passed during the Android build, then verify the build handles `--find-links ./wheels` successfully on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, python
Domain
build-system, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.