https://kotlinlang.org logo
Join Slack
Powered by
# random
  • a

    Alex Styl

    06/03/2025, 10:24 AM
    how come sometimes i can extract a dependency to toml (in my build.gradle.kts) and other times i cannot?
    ❔ 2
    👀 1
  • i

    itnoles

    06/03/2025, 10:30 PM
    Why are there no Kotlin certificates?
    ➕ 1
    👀 1
    s
    • 2
    • 2
  • e

    Edoardo Luppi

    06/05/2025, 12:57 PM
    How many of you are consistently using K2 IDE mode? I try from time to time, but there is always that little thing that still seems to work better in the K1 implementation, at least in multiplatform projects.
    🙋🏾 1
    🙋 3
    e
    • 2
    • 1
  • e

    Edoardo Luppi

    06/05/2025, 6:43 PM
    This is what JS development does to people 😭
  • y

    Youssef Shoaib [MOD]

    06/05/2025, 7:09 PM
    A low effort meme I made
    👏 3
    👏🏾 1
    K 7
    s
    p
    +3
    • 6
    • 18
  • s

    Stefan Oltmann

    06/08/2025, 3:24 PM
    I have no idea what I just watched, but I loved it. 😂

    https://www.youtube.com/watch?v=tUP9K4DKObU▾

    😄 5
    j
    • 2
    • 5
  • s

    Stefan Oltmann

    06/09/2025, 8:29 PM
    image.png
    ❤️ 3
    😆 3
    o
    j
    • 3
    • 4
  • s

    Stefan Oltmann

    06/10/2025, 8:56 PM
    Picked that up in another community. Sounds important. —
    Heads up everyone – the GrapheneOS project is at serious risk of shutting down.
    They urgently need Android Partner Access to continue development for Android 16 and beyond. If you work at an OEM or other partner company and can help provide this, please reach out to them. This is a critical, time-sensitive request.
    f
    • 2
    • 8
  • s

    sindrenm

    06/11/2025, 4:05 PM
    I'm struggling a little bit to understand how this is allowed:
    Copy code
    fun main() {
        val foo = Greeter("World")
        foo.greet()
    }
    
    class Greeter(private val receiver: String) {
        internal inline fun greet() {
            println("Hello, $receiver")
        }
    }
    Doesn't this effectively “leak” the
    private val receiver: String
    into
    main
    when it's inlined? If I remove
    internal
    , it fails with the expected error, but how is
    internal
    and
    private
    “the same” here?
    s
    l
    • 3
    • 3
  • c

    Colton Idle

    06/13/2025, 10:12 PM
    MacOS question with kt files: when i press spacebar on a file in finder it doesn't show the text preview. how can i change this? i basically want all of my toml, kts, and kt files to be previewable since they're just text.
    ✅ 1
    t
    e
    • 3
    • 17
  • o

    oligarchokapi

    06/14/2025, 11:00 PM
    cross posting, since this is also pretty random: https://kotlinlang.slack.com/archives/C1JMF6UDV/p1749941627578469
    s
    r
    • 3
    • 4
  • d

    David

    06/23/2025, 1:44 PM
    https://github.com/JetBrains/kotlin/releases/tag/v2.2.0
    🎉 4
    K 11
  • p

    Pablichjenkov

    06/24/2025, 9:39 PM
    Not sure if only specific to the current project I am working on, but updating to Kotlin from 1.8.22 to 2.0.21 decreased the built time in a clean build from ~*6:00* minutes to ~*4:00* minutes. 🙀 wow, this is crazy fast. I still can’t believe it. I am performing some tests to make sure everything is ok but it is really impressive. It is a big project with ~30% still in java, data-binding, view-binding, Fragments, Compose everything you might think of.
    👍 3
    ❤️ 1
    e
    m
    • 3
    • 6
  • s

    Stefan Oltmann

    07/01/2025, 6:26 AM

    https://www.youtube.com/watch?v=fPlumnuhTco▾

    ❤️ 3
    c
    • 2
    • 1
  • p

    Pablo

    07/01/2025, 6:29 AM
    Sorry to post this, as is not a kotlin related issue, but maybe someone has faced the same issue. As all you must know, google maps key free tiers have changed, now you can be charged in your free app if you use google maps key. Now is more easy to be charged. For example, if your app haves more than 10.000 monthly calls to geocoder in maps, which is not hard to reach. You can get easily charged with 150-200 dollars, even for a free app. This is crazy. I'm trying to enter google maps platform in google cloud platform to check my maps api key, because I wanna see my google maps and google maps geocoder usage and set quota limits to avoid being charged if use surpases free tier, but I can't enter. f I try to enter google maps platform overview on my google cloud platform panel, I'm being forced to accept a free trial on "Google Cloud Platform". They force me to confirm my account and credit card and accept trial terms of service. I don't wanna do it, I don't wanna start any trial and confirm any credit card, I just wanna avoid my account to being charged if quota surpasses free tier. Someone with the same problem? Anyone know how to surpass this forced trial acceptation? This seems to be placed there to force us to confirm an actual credit card and to accept the new model than can charge us with costs even for free apps.
    s
    c
    • 3
    • 2
  • j

    jlleitschuh

    07/02/2025, 6:28 PM
    I've told this story before at conferences and events, but never in this format. I figured it was time to dust off some old security research I'd done and tell the story with a fresh spin, and the context offered by hindsight. Want to know what to do when you find systemic security vulnerabilities impacting the JVM ecosystem? This is how you burn them with fire 🔥 https://medium.com/@jonathan.leitschuh/burn-it-with-fire-how-to-eliminate-an-industry-wide-supply-chain-vulnerability-12515516fb56
    👍 2
    🔥 1
    hackerman 1
    👍🏼 1
    ❤️ 1
    l
    • 2
    • 2
  • c

    Colton Idle

    07/04/2025, 4:50 PM
    Anyone with ios expereince familiar with how versioning works. im still confused at why theres two spots for it. in android. its simple. an int that has to always be greater. and then a string that can be anything. in ios. it seems like there are 4 values and even if you dont update the int, it'll be updated for you on appstoreconnect. ie in info.plist there is "Bundle version" and "Bundle version string (short)" in the project there is "Version" and "Build". signed... a new kmp dev.
  • s

    sindrenm

    07/08/2025, 12:24 PM
    Does this point from https://kotlinlang.org/docs/releases.html mean that 2.2.20 is scheduled to arrive 3 months after 2.2.0, effectively end of September?
    Tooling releases (2. x. 20) that are shipped between language releases and include updates in the tooling, performance improvements, and bug fixes. Released in 3 months after corresponding language release.
    So if https://youtrack.jetbrains.com/issue/KT-77713 is marked as fixed and tagged as “Available in 2.2.20-Beta2”, the first stable release it will be available in will be in September?
    👌 2
    • 1
    • 1
  • p

    Philipp von der Linden

    07/08/2025, 3:38 PM
    Just in case …
    😆 2
  • s

    Stefan Oltmann

    07/09/2025, 5:48 AM
    So true. 😄
    🎉 1
    💯 2
    😁 18
    true 1
  • p

    Pablo

    07/09/2025, 6:12 PM
    Has anyone achieved to avoid orientation changes in Android 16 with
    android:appCategory="game"
    or
    android:name="android.window.PROPERTY_COMPAT_ALLOW_RESTRICTED_RESIZABILITY" android:value="true"
    ? Even combining both with forzed
    android:screenOrientation="landscape"
    or
    "portrait"
    in manifest... fails to avoid screen orientation changes in games... it's a huge problem because if the game is designed for landscape or portrait, it completly destroys your UI and your game isn't playable anymore. They should provide us a way to keep our landscape or portrait games to be playable... and supposedly simply adding
    android:appCategory="game"
    must work, but is not working!
    d
    • 2
    • 1
  • z

    Z

    07/10/2025, 6:08 PM
    https://www.linkedin.com/pulse/waterloo-flutter-vs-native-empires-huthayfah-alfararjeh-5407c/?trackingId=vzud4nyZTsqbSA%2B4oSU9iw%3D%3D very very nice
  • s

    Stefan Oltmann

    07/10/2025, 7:02 PM
    Flutter is still a thing? 😬 👀
    💯 1
    😂 5
    t
    p
    • 3
    • 11
  • e

    Edoardo Luppi

    07/10/2025, 9:12 PM
    I can't What did I just witness lmao
    😆 1
    a
    • 2
    • 1
  • y

    Youssef Shoaib [MOD]

    07/11/2025, 4:43 PM
    AssignedValueIsNeverRead seems to be broken in K2 mode on latest EAP :(
    t
    • 2
    • 1
  • r

    Rok Oblak

    07/15/2025, 8:03 AM
    Pretty please for some more screenshots about the JetBrains Git Client thingy? https://x.com/zsmb13/status/1944780173087285445
  • t

    Tgo1014

    07/15/2025, 8:45 AM
    Anyone has this issue that if you share just the Android Studio window via hangouts it gets extremely slow on mac?
    ➕ 1
    👌 1
    🚫 1
    d
    • 2
    • 8
  • m

    Meet

    07/16/2025, 7:32 AM
    Recently, I checked my Mac storage and found something shocking — over 88GB just under the
    Documents
    folder, mostly used by Android/Kotlin development folders like
    .gradle
    ,
    .android
    ,
    .konan
    , and old project builds. The
    .gradle
    folder alone was 44GB. We usually delete it to clear space, but then opening different projects means those dependencies just get downloaded again — wasting both time and bandwidth. And sometimes, projects even break due to missing versions. This led me to two tool ideas that could save both time and storage: 1. Smart Gradle/Cache Cleaner Tool A tool that scans all your Android/Kotlin projects, checks which libraries are in use, and removes only the unused cache — from
    .gradle
    ,
    .android
    ,
    .konan
    , and even project-specific build folders. It could keep shared dependencies, offer a dry-run preview, and maybe even auto-clean monthly. This could easily save 20–50GB for active devs. 2. Kotlin/Gradle/AGP Version Prompt in IDE Every time a project opens, before syncing, the IDE shows a popup comparing the project’s Kotlin, AGP, and Gradle versions with what’s already installed. It lets you choose to update, keep, or cancel — no more unexpected sync failures or unnecessary downloads. As someone who regularly switches between client and personal projects, I’ve faced these issues more than I can count. I’m curious: • Would tools like this help your workflow? • What would you improve or add? Drop your thoughts or reactions
    t
    s
    • 3
    • 4
  • s

    Stefan Oltmann

    07/16/2025, 7:53 PM

    https://www.youtube.com/watch?v=UtCKI4aqieM▾

    👀 1
  • j

    JamesTang

    07/18/2025, 7:05 AM
    Hi guys. I'm from CN. Recently, I have been curious whether programmers in different places prefer different technology stacks. On my end, the majority of companies are using Spring Boot + Mybatis for web backend application and Vue3+ ElementPlus for Front end. What about yours
    s
    • 2
    • 3