Comments (11)
Hi!
Thanks for a reply.
Sadly targeting java 11 does not helped. I got same error.
from compose-destinations.
Hello! I stumbled upon the same issue and after switching to java 11 I had to invalidate the caches of Android Studio, that fixed it.
from compose-destinations.
Hello! I stumbled upon the same issue and after switching to java 11 I had to invalidate the caches of Android Studio, that fixed it.
Thank you! Now it works perfectly! :)
from compose-destinations.
Are you using desugaring? It seems to be related.
To be completely honest, I am not sure I fully understand all the implications here, but I was able to reproduce the reported issue and then I was able to fix it in the library.
from compose-destinations.
Hi!
Hmmm π€
I need to take some time to analyse this properly, I have never seen it before.
I'll mark it also for v2.
Until then, try targetting java 11, that probably fixes it.
from compose-destinations.
It seems like according to: https://developer.android.com/build/jdks#compileSdk java 11 is only supported on Android api 32 and above, we need to support from api level 21... would it be possible to use
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
to compile this library?
from compose-destinations.
We are using this library at work and our min sdk is 24. Weβre also targeting Java 11 with no issue.
I will be checking this later on, but for now Iβm not considering this urgent since I believe it works with all min sdk that compose also requires.
from compose-destinations.
But @dave08 if you find any issue with your min sdk please do let me know π
from compose-destinations.
@raamcosta Compose supports from sdk 21...
from compose-destinations.
Hi guys!
After some tests I did find that my understanding of these jvm targets was off, apologies π
1.9.56 is cooking where this should be fixed. Thank you for reporting π
from compose-destinations.
@raamcosta
Can you share your analysis of JVM 17
We are using following configuration in our app
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
And our app support is 21 & above. And the app seems to be working fine.
from compose-destinations.
Related Issues (20)
- the topbar is not displaying properly. HOT 1
- the topbar is not displaying properly.
- PopBackStack does not have a check for lifecycle state like navigate does HOT 3
- String placeholder for deeplink not working HOT 1
- Deeplink pattern HOT 1
- Nested Graph Problem HOT 5
- popUpTo will not pop up Destination inside NavGraph
- [Security] Repository is vulnerable to MavenGate
- Generated code isn't internal HOT 1
- Best way to implement / sample code with master-detail for tablets?
- Nested Destination NavGraph with default one being the "deeper HOT 4
- Forbid navigation into subgraphs from other than start destinations of the subgraph HOT 1
- Compose to Fragment Navigation HOT 1
- Update to compose navigation 1.7.0-alpha02 HOT 2
- WearOS: Disable swipe-to-dismiss gesture on a destination. HOT 4
- KSP throws error when creating new NavGraphs HOT 1
- Destination for multi module project. HOT 2
- Preserve top-level screens for bottom bar HOT 2
- Crash Caused by android.os.RemoteException while calling navController?.navigate(PipOverlayScreenDestination) HOT 1
- Bottom Sheet Navigation Different Behavior Requirement 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 compose-destinations.