It would be nice to not depend on this, as it would make library setup a bit easier for the average user. (At least until if/when FIRST-Tech-Challenge/FtcRobotController#1562 is fixed.)
Using a slightly older version of some dependencies will probably do the job. This shows what dependency requires what: dependency-graph.json
And here is the list of libraries used that require a compileSdkVersion greater than 30:
19 issues were found when checking AAR metadata:
1. Dependency 'androidx.appcompat:appcompat-resources:1.6.1' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
2. Dependency 'androidx.appcompat:appcompat:1.6.1' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
3. Dependency 'androidx.activity:activity:1.8.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
4. Dependency 'androidx.transition:transition:1.5.0' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.
5. Dependency 'androidx.emoji2:emoji2-views-helper:1.2.0' requires libraries and applications that
depend on it to compile against version 32 or later of the
Android APIs.
6. Dependency 'androidx.emoji2:emoji2:1.2.0' requires libraries and applications that
depend on it to compile against version 32 or later of the
Android APIs.
7. 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.
8. 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.
9. Dependency 'androidx.lifecycle:lifecycle-livedata:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
10. Dependency 'androidx.lifecycle:lifecycle-process:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
11. Dependency 'androidx.lifecycle:lifecycle-livedata-core:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
12. Dependency 'androidx.lifecycle:lifecycle-viewmodel:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
13. Dependency 'androidx.lifecycle:lifecycle-runtime:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
14. Dependency 'androidx.lifecycle:lifecycle-viewmodel-savedstate:2.6.2' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
15. 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.
16. 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.
17. Dependency 'androidx.profileinstaller:profileinstaller:1.3.0' requires libraries and applications that
depend on it to compile against version 33 or later of the
Android APIs.
18. Dependency 'androidx.startup:startup-runtime:1.1.1' requires libraries and applications that
depend on it to compile against version 31 or later of the
Android APIs.
19. 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.
It would be nice to not depend on this, as it would make library setup a bit easier for the average user. (At least until if/when FIRST-Tech-Challenge/FtcRobotController#1562 is fixed.)
Using a slightly older version of some dependencies will probably do the job. This shows what dependency requires what: dependency-graph.json
And here is the list of libraries used that require a
compileSdkVersiongreater than 30: