Comments (4)
I could be convinced to lower compileSdkVersion
but I'm skeptical. Typically you should always be compiling to the latest SDK version - what's blocking you from upgrading?
(Keep in mind, targetSdk
is a different beast; you can compile to a higher SDK than you target.)
from joda-time-android.
I agree, but it's not the point. The point is that a library that seems to not depend on the compile SDK suddenly imposes a compile SDK version bump. That decreases the developer experience of this library for everybody that hasn't eagerly kept the compile SDK version up to date. It's a side effect, seemingly.
Note that this is a 'problem' in general: any lib implementing (or api
-ing?) an AndroidX lib that requires compile SDK 31 will have its users' builds break... I guess that this issue is on AndroidX, because they chose to add this requirement recently for many (if not all) of their libs. And it's undocumented, AFAIK.
The fix on the user end should be trivial, so probably not worth fixing by you. Besides, if you'd stick with compatibility for the previous compile SDK version, then your lib will likely not be able to upgrade AndroidX dependencies for a year, always lagging behind the latest and greatest possibilities (in theory).
Makes you wonder what the use is of the compile SDK version, if AndroidX forces you to use the latest stable by default... 🤔
Feel free to close this issue.
from joda-time-android.
I'm not really sure I understand the exact ask here - is it that joda-time-android stops depending on androidx.startup?
from joda-time-android.
Concretely, I ask to stop depending on libraries that set minCompileSdk
to greater than 30
. E.g. if you'd downgrade AndroidX Startup, the previous version likely doesn't require that.
But I now remember the support library, which I think always has had the implicit requirement that your compile SDK version is at least the support lib's major version. Since AndroidX, that major version isn't in the version names any more, so I guess that's partially where the issue lies (like I wrote before): AndroidX fails to communicate / document the minimum required compile SDK:
- Here it says compile SDK 28: https://developer.android.com/jetpack/androidx
- Here it says nothing about a minimum compile SDK: https://developer.android.com/jetpack/androidx/releases/startup
And actually the minimum compile SDK is 31. This, while the Play Store accepts apps (or app updates) with target SDK 30 and therefore it is safe to assume that some of those apps will also use compile SDK 30. That leads to the problem described in this issue: breaking builds. However, like discussed it's not a problem to upgrade the compile SDK version, so I'm closing this.
from joda-time-android.
Related Issues (20)
- IllegalArgumentException The datetime zone id ‘Europe/Vienna’ is not recognised HOT 3
- Parsing time zone issue HOT 1
- integration of tz data in joda-time-android HOT 1
- DateTimeFormat.parseDateTime throws IllegalArgumentException only on Android 12 HOT 1
- No matching variant of net.danlew:android.joda:2.10.14 was found. HOT 3
- Github proof
- Incompatible HOT 1
- Update to 2022bgtz
- Could not find joda-time-2.11.0-no-tzdb (v.2.11.0) HOT 4
- The datetime zone id 'Asia/Kolkata' is not recognised HOT 2
- Parsing issue with short month format HOT 1
- Unable to pull new versions using gradle HOT 5
- Joda
- having "Resource not found: "org/joda/time/tz/data/ZoneInfoMap" on latest v2.12.1.1 (on testing env) HOT 3
- R8 fullMode causes NoSuchMethodException HOT 1
- Build fails in non android modules HOT 5
- Versioning HOT 1
- tzdb 2024a HOT 2
- Use system provided time zone that is kept up to date with play services HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from joda-time-android.