Skip to content

Conversation

@Zaigend08
Copy link

Updated compileSdkVersion & targetSdkVersion to 36 to solve below issue..
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.

       :disable_battery_optimization is currently compiled against android-31.

       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).

Updated compileSdkVersion & targetSdkVersion to 36 to solve below issue..
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.

           :disable_battery_optimization is currently compiled against android-31.

           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).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant