Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56.4k
fix(android): Kotlin 2.0 internal error for unsafe coercions#26354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
onuralpszr commentedOct 23, 2024
@asmorkalov 👋 Hello, Is android test CI stuck ? It is started 8h ago and still in queue. |
Razorquake commentedFeb 10, 2025
I hope the issue with Kotlin 2.0 will be resolved soon |
Signed-off-by: Onuralp SEZER <thunderbirdtr@gmail.com>
b4e2669 toce13988Compareonuralpszr commentedMar 22, 2025
@asmorkalov can you re-trigger android CI please. |
fzhinkin commentedApr 17, 2025
Seems like it should be enough to patch only a few places in code to workaround the compiler bug:https://gist.github.com/fzhinkin/e0a5dc7dd2df933408c0bcdb2be9ecd5 |
Neightro commentedMay 13, 2025
I've been using this branch successfully with Kotlin 2. The only issue is that it triggers the linter warning "This declaration needs opt-in. Its usage should be marked with '@kotlin.ExperimentalUnsignedTypes' or '@OptIn(kotlin.ExperimentalUnsignedTypes::class)' for the following positions: 6:39, 6:73, 6:78, 7:38, 7:71, 7:76, 8:39, 8:73, 8:78, 9:38, 9:71, 9:76, 11:39, 11:74, 11:79, 12:38, 12:72, 12:77, 13:39, 13:74, 13:79, 14:38, 14:72, 14:77. |
cshrpy commentedJun 26, 2025
What's holding up the progress? |
d2d90dd intoopencv:4.xUh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Pull Request Readiness Checklist
See details athttps://github.com/opencv/opencv/wiki/How_to_contribute#making-a-good-pull-request
Patch to opencv_extra has the same branch name.
This PR related to issue#26129 to attempting to fix.
I would like to say that this issue not happen when we use maven package with same configuration stated in the issue with same JDK 17 and SDK 34 it just works. This is only hppens when we download opencv android from website use as a module and add into gradle