Skip to content

A problem occurred evaluating root project "versioning issue" #2013

@Fector101

Description

@Fector101

I when try to give my app a version 1.0.5.1 from 1.0.5, i get an error. I notice it only happens when use four points like 1.2.3.4 but not three 1.2.3
These are the error logs

[DEBUG]:   -> running gradlew clean assembleRelease
[DEBUG]:
[DEBUG]:   	[Incubating] Problems report is available at: file:///home/fabian/Documents/Laner/mobile/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/waller/build/reports/problems/problems-report.html
[DEBUG]:
[DEBUG]:   	FAILURE: Build failed with an exception.
[DEBUG]:
[DEBUG]:   	* Where:
[DEBUG]:   	Build file '/home/fabian/Documents/Laner/mobile/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/waller/build.gradle' line: 30
[DEBUG]:
[DEBUG]:   	* What went wrong:
[DEBUG]:   	A problem occurred evaluating root project 'waller'.
[DEBUG]:   	> Value is null
[DEBUG]:
[DEBUG]:   	* Try:
[DEBUG]:   	> Run with --stacktrace option to get the stack trace.
[DEBUG]:   	> Run with --info or --debug option to get more log output.
[DEBUG]:   	> Run with --scan to get full insights.
[DEBUG]:   	> Get more help at https://help.gradle.org.
[DEBUG]:
[DEBUG]:   	Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
[DEBUG]:
[DEBUG]:   	You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
[DEBUG]:
[DEBUG]:   	For more on this, please refer to https://docs.gradle.org/8.14.3/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
[DEBUG]:
[DEBUG]:   	BUILD FAILED in 2s
[DEBUG]:

My complete buildozer.spec

[app]
title = Waller

package.name = waller

package.domain = org.wally
author = Fabian © Copyright Info
version = 1.0.5.1

source.dir = app_src

presplash.filename = %(source.dir)s/assets/icons/presplash.png
icon.filename = %(source.dir)s/assets/icons/icon.png

source.include_exts = py,png,jpg,kv,atlas,ttf,json,xml,wav
source.exclude_dirs = bin, venv,lab, worked, __pycache__, .idea, dist, for-download,laner-linux, .filereader, wallpapers


requirements = python3,kivy,https://github.com/kivymd/KivyMD/archive/master.zip,python-osc,https://github.com/kivy/plyer/archive/master.zip,materialyoucolor,asynckivy,asyncgui,pyjnius, docutils,netifaces,filetype,requests_toolbelt,websockets,android-widgets,https://github.com/Fector101/android_notify/archive/main.zip
services = Wallpapercarousel:./android/services/wallpaper.py:foreground, Updatedownloader:./android/services/updater_download.py:foreground

osx.python_version = 3
osx.kivy_version = 1.9.1

fullscreen = 0
orientation = all

android.permissions = RECEIVE_BOOT_COMPLETED, INTERNET, VIBRATE, USE_EXACT_ALARM, SCHEDULE_EXACT_ALARM, FOREGROUND_SERVICE, FOREGROUND_SERVICE_SPECIAL_USE, POST_NOTIFICATIONS, SET_WALLPAPER, READ_MEDIA_IMAGES, (name=android.permission.READ_EXTERNAL_STORAGE;maxSdkVersion=32), (name=android.permission.WRITE_EXTERNAL_STORAGE;maxSdkVersion=28), REQUEST_INSTALL_PACKAGES, FOREGROUND_SERVICE_DATA_SYNC
android.add_src = %(source.dir)s/android/src
android.add_resources = %(source.dir)s/android/res
android.gradle_dependencies = androidx.core:core-ktx:1.12.0, com.google.android.material:material:1.12.0
android.enable_androidx = True
p4a.hook = %(source.dir)s/android/p4a/hook.py

android.api = 35
p4a.branch = develop

android.archs = arm64-v8a, armeabi-v7a
android.allow_backup = True


ios.kivy_ios_url = https://github.com/kivy/kivy-ios
ios.kivy_ios_branch = master
ios.ios_deploy_url = https://github.com/phonegap/ios-deploy
ios.ios_deploy_branch = 1.10.0
ios.codesign.allowed = false
android.release_artifact = apk

[buildozer]
log_level = 2
warn_on_root = 1

The build file .buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/waller/build.gradle
At line 30 it's versionCode 10241000501

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
    repositories {
       google()
       mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:8.11.0'
    }
}

allprojects {
    repositories {
        google()
        mavenCentral()
    }
}


apply plugin: 'com.android.application'


android {
    namespace 'org.wally.waller'
    compileSdkVersion 35
    buildToolsVersion '37.0.0-rc2'
    defaultConfig {
        minSdkVersion 24
        targetSdkVersion 35
        versionCode 10241000501
        versionName '1.0.5.1'
        manifestPlaceholders = [:]
    }

	
	packagingOptions {
        jniLibs {
            useLegacyPackaging = true
        }
        
        exclude 'lib/**/gdbserver'
        exclude 'lib/**/gdb.setup'
	}
	

	

    

    buildTypes {
        debug {
        }
        release {
            
        }
    }

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    sourceSets {
        main {
            jniLibs.srcDir 'libs'
            java {srcDir '/home/fabian/Documents/Laner/mobile/app_src/android/src'}
        }
    }

    aaptOptions {
        noCompress "tflite"
    }

}

dependencies {
    implementation 'androidx.core:core-ktx:1.12.0'
    implementation 'com.google.android.material:material:1.12.0'
    
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions