ERROR: ...checkupdate failed for com.example.flutter_wallet : Couldn't find any version information
Hello I am trying to submit an app to fdroid, but I'm getting all these errors.
vagrant@7803b9a29df9:/build$ fdroid readmeta fdroid rewritemeta com.example.flutter_wallet fdroid checkupdates --allow-dirty com.example.flutter_wallet fdroid lint com.example.flutter_wallet fdroid build com.example.flutter_wallet 2025-07-15 09:42:12,035 INFO: Rewriting 'com.example.flutter_wallet' 2025-07-15 09:42:12,250 INFO: Processing com.example.flutter_wallet 2025-07-15 09:42:15,786 ERROR: ...checkupdate failed for com.example.flutter_wallet : Couldn't find any version information "metadata/et/" has no matching metadata file! "metadata/az/" has no matching metadata file! "metadata/zh-TW/" has no matching metadata file! "metadata/cy/" has no matching metadata file! "metadata/nb/" has no matching metadata file! "metadata/kn/" has no matching metadata file! "metadata/pl/" has no matching metadata file! "metadata/sq/" has no matching metadata file! "metadata/te/" has no matching metadata file! "metadata/en-GB/" has no matching metadata file! "metadata/pt/" has no matching metadata file! "metadata/fa/" has no matching metadata file! "metadata/es/" has no matching metadata file! "metadata/ko/" has no matching metadata file! "metadata/es-MX/" has no matching metadata file! "metadata/lv/" has no matching metadata file! "metadata/hi/" has no matching metadata file! "metadata/he/" has no matching metadata file! "metadata/ta/" has no matching metadata file! "metadata/nn/" has no matching metadata file! "metadata/ga/" has no matching metadata file! "metadata/sv/" has no matching metadata file! "metadata/hu/" has no matching metadata file! "metadata/yue/" has no matching metadata file! "metadata/sr/" has no matching metadata file! "metadata/is/" has no matching metadata file! "metadata/nl/" has no matching metadata file! "metadata/eo/" has no matching metadata file! "metadata/ca/" has no matching metadata file! "metadata/fr/" has no matching metadata file! "metadata/bn/" has no matching metadata file! "metadata/zh-Hant-HK/" has no matching metadata file! "metadata/pa/" has no matching metadata file! "metadata/id/" has no matching metadata file! "metadata/uk/" has no matching metadata file! "metadata/ja/" has no matching metadata file! "metadata/pt-BR/" has no matching metadata file! "metadata/ro/" has no matching metadata file! "metadata/fil/" has no matching metadata file! "metadata/eu/" has no matching metadata file! "metadata/ru/" has no matching metadata file! "metadata/el/" has no matching metadata file! "metadata/fi/" has no matching metadata file! "metadata/ar/" has no matching metadata file! "metadata/cs/" has no matching metadata file! "metadata/it/" has no matching metadata file! "metadata/sw/" has no matching metadata file! "metadata/af/" has no matching metadata file! "metadata/zh-CN/" has no matching metadata file! "metadata/pt-PT/" has no matching metadata file! "metadata/bg/" has no matching metadata file! "metadata/de/" has no matching metadata file! "metadata/en-US/" has no matching metadata file! "metadata/gl/" has no matching metadata file! "metadata/tr/" has no matching metadata file! com.example.flutter_wallet: Categories 'Internet' is not valid com.example.flutter_wallet: Categories 'Navigation' is not valid 2025-07-15 09:42:16,466 INFO: Building version 1.6.4 (1) of com.example.flutter_wallet 2025-07-15 09:42:16,469 INFO: Getting source for revision v1.6.4 2025-07-15 09:42:19,085 INFO: Creating local.properties file at build/com.example.flutter_wallet/local.properties 2025-07-15 09:42:19,085 INFO: Creating local.properties file at build/com.example.flutter_wallet/android/local.properties 2025-07-15 09:42:19,085 INFO: Creating local.properties file at build/com.example.flutter_wallet/android/app/local.properties 2025-07-15 09:42:19,093 INFO: Cleaned build.gradle of keysigning configs at build/com.example.flutter_wallet/android/app/build.gradle 2025-07-15 09:42:19,099 INFO: Cleaning Gradle project... 2025-07-15 09:42:29,233 ERROR: Could not build app com.example.flutter_wallet: Error cleaning com.example.flutter_wallet:1.6.4 ==== detail begin ==== Found 8.4 via distributionUrl Downloading missing gradle version 8.4 cachedir /home/vagrant/.cache/fdroidserver /home/vagrant/.cache/fdroidserver/gradle-8.4-bin.zip: OK Running /home/vagrant/.cache/fdroidserver/gradle/8.4/bin/gradle clean
Welcome to Gradle 8.4!
Here are the highlights of this release:
- Compiling and testing with Java 21
- Faster Java compilation on Windows
- Role focused dependency configurations creation
For more details see https://docs.gradle.org/8.4/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.4/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation. Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
-
Where: Settings file '/build/build/com.example.flutter_wallet/android/settings.gradle' line: 6
-
What went wrong: A problem occurred evaluating settings 'android'.
flutter.sdk not set in local.properties. Expression: (flutterSdkPath != null). Values: flutterSdkPath = null
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. Get more help at https://help.gradle.org.
BUILD FAILED in 3s ==== detail end ==== 2025-07-15 09:42:29,237 INFO: Build for app com.example.flutter_wallet:1 failed 2025-07-15 09:42:29,237 INFO: Finished 2025-07-15 09:42:29,237 INFO: 1 build failed vagrant@7803b9a29df9:/build$
this is the yml file: hanny@srv360696907:~/fdroiddata/metadata$ cat com.example.flutter_wallet.yml Categories:
- Internet
- Navigation License: GPL-3.0-or-later SourceCode: https://github.com/cortezhanny124/shared_haven
RepoType: git Repo: https://github.com/cortezhanny124/shared_haven.git
Builds:
- versionName: 1.6.4
versionCode: 1
commit: v1.6.4
subdir: android/app
gradle:
- yes
AutoUpdateMode: Version UpdateCheckMode: Tags CurrentVersion: 1.6.4 CurrentVersionCode: 1
And this is my build.gradle file
hanny@srv360696907:~/flutter_bitcoin-master/android/app$ cat build.gradle plugins { id "com.android.application" id "kotlin-android" // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins. id "dev.flutter.flutter-gradle-plugin" id "org.jetbrains.kotlin.android" version "1.9.20" }
android { namespace = "com.example.flutter_wallet" compileSdk = flutter.compileSdkVersion ndkVersion = flutter.ndkVersion
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.flutter_wallet"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
// minSdk = flutter.minSdkVersion
minSdkVersion 26
targetSdk = flutter.targetSdkVersion
versionCode 1
versionName "1.6.4"
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86', 'x86_64'
}
}
flavorDimensions "network"
productFlavors {
bitcoin_mainnet {
dimension "network"
applicationId "com.bitcoin.sharedhaven.mainnet" // Unique ID for mainnet
versionNameSuffix "-mainnet"
}
bitcoin_testnet {
dimension "network"
applicationId "com.bitcoin.sharedhaven.testnet" // Unique ID for testnet
versionNameSuffix "-testnet"
}
}
applicationVariants.all { variant -> variant.outputs.all { output -> if (variant.buildType.name == "release") { output.outputFileName = "SharedHaven-release.apk" } else if (variant.buildType.name == "debug") { output.outputFileName = "SharedHaven-debug.apk" } } }
buildTypes {
release {
minifyEnabled true
shrinkResources false // Temporarily disable shrinking for debugging
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig = signingConfigs.debug
}
}
}
flutter { source = "../.." }
kotlin { jvmToolchain(17) // Automatically configures JDK 17 }
dependencies { implementation 'com.google.errorprone:error_prone_annotations:2.11.0' implementation 'javax.annotation:javax.annotation-api:1.3.2' implementation 'com.google.crypto.tink:tink-android:1.6.1' } hanny@srv360696907:~/flutter_bitcoin-master/android/app$
Am I doing something wrong?