You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current Ditto Cars app in the monorepo is built using AGP 7.4.1 and compileSdk = 33.
When using the published presence viewer version 2.0.0 or 2.1.0 with the Ditto Cars app, I get the following build errors:
Dependency Compatibility Errors
Execution failed for task ':app:checkDebugAarMetadata'.
23 issues were found when checking AAR metadata:
1. Dependency 'androidx.compose.material3:material3-android:1.2.1' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
2. Dependency 'androidx.compose.material:material-android:1.6.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
3. Dependency 'androidx.compose.material:material-icons-extended-android:1.6.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
4. Dependency 'androidx.compose.material:material-icons-core-android:1.6.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
5. Dependency 'androidx.compose.material:material-ripple-android:1.6.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
6. Dependency 'androidx.compose.ui:ui-tooling-preview-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
7. Dependency 'androidx.compose.ui:ui-tooling-data-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
8. Dependency 'androidx.compose.foundation:foundation-layout-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
9. Dependency 'androidx.compose.foundation:foundation-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
10. Dependency 'androidx.compose.animation:animation-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
11. Dependency 'androidx.compose.animation:animation-core-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
12. Dependency 'androidx.compose.ui:ui-unit-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
13. Dependency 'androidx.compose.ui:ui-util-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
14. Dependency 'androidx.compose.ui:ui-text-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
15. Dependency 'androidx.compose.ui:ui-graphics-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
16. Dependency 'androidx.compose.ui:ui-geometry-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
17. Dependency 'androidx.compose.ui:ui-tooling-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
18. Dependency 'androidx.core:core-ktx:1.12.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
19. Dependency 'androidx.core:core:1.12.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
20. Dependency 'androidx.compose.ui:ui-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
21. Dependency 'androidx.compose.runtime:runtime-saveable-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
22. Dependency 'androidx.compose.runtime:runtime-android:1.6.8' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
23. 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.
:dittocarsapp is currently compiled against android-33.
Also, the maximum recommended compile SDK version for Android Gradle
plugin 7.4.1 is 33.
Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdkVerion of at least 34.
Note that updating a library or application's compileSdkVersion (which
allows newer APIs to be used) can be done separately from updating
targetSdkVersion (which opts the app in to new runtime behavior) and
minSdkVersion (which determines which devices the app can be installed
on).
Solution
Upgrading the compileSdk version of the Ditto SDK and Cars app to 34 would resolve this, but we can't until our next major version (since this is a breaking change).
Since version 2.0.0 introduced a breaking change, this should be documented somewhere like the release description.
Context
This project's compile SDK version was increased to 34 in #111 (released in 2.1.0).
It appears that dependencies that require SDK 34 were introduced in 2.0.0.
The text was updated successfully, but these errors were encountered:
Problem
The current Ditto Cars app in the monorepo is built using AGP
7.4.1
andcompileSdk = 33
.When using the published presence viewer version
2.0.0
or2.1.0
with the Ditto Cars app, I get the following build errors:Dependency Compatibility Errors
Solution
Upgrading the
compileSdk
version of the Ditto SDK and Cars app to34
would resolve this, but we can't until our next major version (since this is a breaking change).Since version
2.0.0
introduced a breaking change, this should be documented somewhere like the release description.Context
This project's compile SDK version was increased to
34
in #111 (released in 2.1.0).It appears that dependencies that require SDK
34
were introduced in 2.0.0.The text was updated successfully, but these errors were encountered: