Skip to content

[TECHNICAL] Update max SDK level - API 36 (Android 16) #4743

Closed

Description

@jesmrec

As Google released Android 16, SDK level should be pushed to 36 to avoid problems and deadlines with the platform. This is the list if features, we should check whether we can take advantage of any of them:

https://developer.android.com/about/versions/16/features

Work to do here is:

  • Pushing sdkCompileVersion and sdkTargetVersion to 36
  • Check if app builds and installs
  • Check if any new feature is interesting: create issues for them
  • In the previous release's release notes, warn that it will be the latest version with support for Android 7 and 8
  • Basic testing

TASKS

  • Research (if needed)
  • Create branch technical/bump_android_sdk_to_36
  • Development tasks
    • Bump sdkCompileVersion and sdkTargetVersion to 36
    • Implement unit tests (if needed)
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch technical/bump_android_sdk_to_36 into master

Activity

  1. changed the title [-][FEATURE REQUEST] Update min and max SDK level[/-] [+][TECHNICAL] Update min and max SDK level[/+] on Dec 19, 2025
  2. bilogic commented on Jan 4, 2026

    @bilogic

    @jesmrec were you able to build?

    I'm getting this on ubuntu 22.04

    FAILURE: Build completed with 2 failures.
    
    1: Task failed with an exception.
    -----------
    * What went wrong:
    Execution failed for task ':owncloudApp:ktlintTestSourceSetCheck'.
    > A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.ConsoleReportWorkAction
       > KtLint found code style violations. Please see the following reports:
         - /var/www/stage/owncloud-android/owncloudApp/build/reports/ktlint/ktlintTestSourceSetCheck/ktlintTestSourceSetCheck.txt
    
    * 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.
    ==============================================================================
    
    2: Task failed with an exception.
    -----------
    * What went wrong:
    Execution failed for task ':owncloudApp:runKtlintCheckOverMainSourceSet'.
    > A failure occurred while executing org.jlleitschuh.gradle.ktlint.worker.KtLintWorkAction
       > KtLint failed to parse file: /var/www/stage/owncloud-android/owncloudApp/src/main/java/com/owncloud/android/workers/AutomaticUploadsWorker.kt
    
    * 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.
    ==============================================================================
    
    Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
    
  3. jesmrec commented on Jan 8, 2026

    @jesmrec
    MemberAuthor

    @bilogic it seems ktLint found something wrong, but it is not related with the current issue. Please, open a separate one to handle the problem.

  4. added this to the 4.9 - Next milestone on Feb 6, 2026
  5. changed the title [-][TECHNICAL] Update min and max SDK level[/-] [+][TECHNICAL] Update max SDK level[/+] on May 15, 2026
  6. self-assigned this
    on May 19, 2026
  7. changed the title [-][TECHNICAL] Update max SDK level[/-] [+][TECHNICAL] Update max SDK level (Android 16)[/+] on May 19, 2026
  8. changed the title [-][TECHNICAL] Update max SDK level (Android 16)[/-] [+][TECHNICAL] Update max SDK level - API 36 (Android 16)[/+] on May 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions