Fdroid build script for new apps - preparing submission

Hello,
This is my introduction to this forum.

EDIT: I solved it, the manifest have to include “gradle=yes”

I am preparing app submission so I created package metadata but then “build -v -l app.id” breaks because it invoke some deprecated commands:

fdroid build -v -l com.gacode.relaunchx
DEBUG: Reading config.py
DEBUG: Getting git vcs interface for https://github.com/Leszek111/ReLaunchX.git
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git fetch origin
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git fetch --prune --tags origin
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git checkout -f HEAD
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git clean -dffx
DEBUG: Getting git vcs interface for https://github.com/Leszek111/ReLaunchX.git
DEBUG: Checking 1.3.0
INFO: Building version 1.3.0 (100300000) of com.gacode.relaunchx
INFO: Getting source for revision d1543b94dc
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git rev-parse --show-toplevel
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git submodule foreach --recursive git reset --hard
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git submodule foreach --recursive git clean -dffx
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git fetch origin
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git fetch --prune --tags origin
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git remote set-head origin --auto
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git checkout -f d1543b94dc
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > git clean -dffx
INFO: Creating local.properties file at build/com.gacode.relaunchx/local.properties
DEBUG: Removing debuggable flags from build/com.gacode.relaunchx
DEBUG: Updating main project
DEBUG: Directory: build/com.gacode.relaunchx
DEBUG: > /home/user/Android/Sdk/tools/android update lib-project -t android-7 -p .
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Invalid or unsupported command "update lib-project -t android-7 -p ."

Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
ERROR: Could not build app com.gacode.relaunchx: Failed to update project at .
==== detail begin ====
*************************************************************************
The "android" command is deprecated.
For manual SDK, AVD, and project management, please use Android Studio.
For command-line tools, use tools/bin/sdkmanager and tools/bin/avdmanager
*************************************************************************
Invalid or unsupported command "update lib-project -t android-7 -p ."

Supported commands are:
android list target
android list avd
android list device
android create avd
android move avd
android delete avd
android list sdk
android update sdk
==== detail end ====
INFO: Finished.
INFO: 1 builds failed

The project compiles fine in AndroidStudio. What should I do? The sudmission manual is not helpful for that case :frowning:

Ah, yes, we are planning on switching the default to gradle: