Skip to content

Android stop build because old sdk used at powersync_flutter_libs #348

@AlexanderBykin

Description

@AlexanderBykin

project stop build because of old android-sdk used for powersync_flutter_libs package

please update that to actual android sdk, current is 36

can be found here
https://github.com/powersync-ja/powersync.dart/blob/main/packages/powersync_flutter_libs/android/build.gradle#L34

long log text FAILURE: Build failed with an exception.
  • What went wrong:
    Execution failed for task ':powersync_flutter_libs:checkReleaseAarMetadata'.

A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
19 issues were found when checking AAR metadata:

   1.  Dependency 'androidx.fragment:fragment:1.7.1' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   2.  Dependency 'androidx.window:window:1.2.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   3.  Dependency 'androidx.window:window-java:1.2.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   4.  Dependency 'androidx.activity:activity:1.8.1' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   5.  Dependency 'androidx.lifecycle:lifecycle-livedata-core-ktx:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   6.  Dependency 'androidx.lifecycle:lifecycle-livedata:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   7.  Dependency 'androidx.lifecycle:lifecycle-viewmodel:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   8.  Dependency 'androidx.lifecycle:lifecycle-livedata-core:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

   9.  Dependency 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  10.  Dependency 'androidx.core:core-ktx:1.13.1' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  11.  Dependency 'androidx.core:core:1.13.1' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  12.  Dependency 'androidx.lifecycle:lifecycle-runtime:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  13.  Dependency 'androidx.lifecycle:lifecycle-process:2.7.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  14.  Dependency 'androidx.savedstate:savedstate:1.2.1' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  15.  Dependency 'androidx.profileinstaller:profileinstaller:1.3.1' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  16.  Dependency 'androidx.tracing:tracing:1.2.0' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  17.  Dependency 'androidx.arch.core:core-runtime:2.2.0' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  18.  Dependency 'androidx.window.extensions.core:core:1.0.0' requires libraries and applications that
       depend on it to compile against version 33 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 33, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

  19.  Dependency 'androidx.annotation:annotation-experimental:1.4.0' requires libraries and applications that
       depend on it to compile against version 34 or later of the
       Android APIs.

       :powersync_flutter_libs is currently compiled against android-32.

       Recommended action: Update this project to use a newer compileSdk
       of at least 34, for example 36.

       Note that updating a library or application's compileSdk (which
       allows newer APIs to be used) can be done separately from updating
       targetSdk (which opts the app in to new runtime behavior) and
       minSdk (which determines which devices the app can be installed
       on).

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