Hi I’m trying to use fdroid build on my PC and it always gives me this error:
nguyen@pop-os:~/Documents/GitLab/fdroid-data$ fdroid build com.vectras.vm
2025-09-23 11:22:27,492 INFO: Building version v2.9.5.9-3dfx (21) of com.vectras.vm
2025-09-23 11:22:27,495 INFO: Getting source for revision 389858962ae3503875853c935cc6b6909387f886
2025-09-23 11:22:31,226 INFO: Creating local.properties file at build/com.vectras.vm/local.properties
2025-09-23 11:22:31,226 INFO: Updating local.properties file at build/com.vectras.vm/./local.properties
2025-09-23 11:22:31,231 INFO: Cleaned build.gradle of keysigning configs at build/com.vectras.vm/app/build.gradle
2025-09-23 11:22:31,233 INFO: Cleaned build.gradle of keysigning configs at build/com.vectras.vm/shell-loader/build.gradle
2025-09-23 11:22:31,234 INFO: Running ‘prebuild’ commands in build/com.vectras.vm/.
2025-09-23 11:22:31,436 INFO: Cleaning Gradle project…
2025-09-23 11:22:31,438 ERROR: Could not build app com.vectras.vm due to unknown error: Traceback (most recent call last):
File “/home/nguyen/Documents/GitLab/fdroidserver/fdroidserver/build.py”, line 1192, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
File “/home/nguyen/Documents/GitLab/fdroidserver/fdroidserver/build.py”, line 935, in trybuild
build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, extlib_dir, tmp_dir, force, onserver, refresh)
File “/home/nguyen/Documents/GitLab/fdroidserver/fdroidserver/build.py”, line 551, in build_local
p = FDroidPopen(cmd, cwd=root_dir, envs={“GRADLE_VERSION_DIR”: config[‘gradle_version_dir’], “CACHEDIR”: config[‘cachedir’]})
File “/home/nguyen/Documents/GitLab/fdroidserver/fdroidserver/common.py”, line 3187, in FDroidPopen
result = FDroidPopenBytes(commands, cwd, envs, output, stderr_to_stdout)
File “/home/nguyen/Documents/GitLab/fdroidserver/fdroidserver/common.py”, line 3116, in FDroidPopenBytes
logging.debug(“> %s” % ’ '.join(commands))
TypeError: sequence item 0: expected str instance, NoneType found
2025-09-23 11:22:31,528 INFO: Build for app com.vectras.vm:21 failed
2025-09-23 11:22:31,528 INFO: Finished
2025-09-23 11:22:31,528 INFO: 1 build failed
And here is my metadata file:
Categories:
- Development
- System
License: GPL-2.0-or-later
WebSite: [Cannot attach link due to new account limit]
SourceCode: [Cannot attach link due to new account limit]
IssueTracker: [Cannot attach link due to new account limit]
Donate: [Cannot attach link due to new account limit]
AutoName: Vectras VM
Summary: A QEMU-based virtual machine for running various OSes
Description: |
Welcome to Vectras VM! A virtual machine app for Android based on QEMU that lets you emulate various OSes including: Linux, Windows, Android, macOS and more.
Minimum System Requirements
- Android 6.0 and up.
- 3GB RAM (1GB of free RAM).
- A good processor.
Recommended System Requirements
- Android 8.1 and up.
- 8GB RAM (3GB of free RAM).
- CPU and Android OS support 64-bit.
- Snapdragon 855 CPU or better.
- Integrated or removable cooling system (if running operating systems from 2010 to present).
Tips: If the OS you are trying to emulate crashes, try using an older version.
RepoType: git
Repo: [Cannot attach link due to new account limit]
Builds:
- versionName: v2.9.5.9-3dfx
versionCode: 21
commit: 389858962ae3503875853c935cc6b6909387f886
subdir: .
gradle:- yes
prebuild: |
sed -i ‘/^rootProject.name/ s/Vectras VM/VectrasVM/g’ ./settings.gradle
sed -i “s/, *‘:shell-loader’//” ./settings.gradle
sed -i “s/, *‘:shell-loader:stub’//” ./settings.gradle
- yes
AutoUpdateMode: Version
UpdateCheckMode: Tags
CurrentVersion: v2.9.5.9-3dfx
CurrentVersionCode: 21
This is my first time using fdroid build. Thanks a lot if you can help me even a little.