Giter Club home page Giter Club logo

Comments (6)

dkhalanskyjb avatar dkhalanskyjb commented on September 28, 2024 1

code is compiling fine using the gradle assemble task

That's the critical part. This means that our library provides all the information needed for the compiler (and therefore, ideally, the IDE).

This should be filed to https://youtrack.jetbrains.com/newIssue?project=KTIJ. Please include the build number of the IDE and which configs you have set in Settings → Languages & Frameworks → Kotlin.

from kotlinx.coroutines.

dkhalanskyjb avatar dkhalanskyjb commented on September 28, 2024

I followed your instructions exactly, but the issue didn't reproduce: Dispatchers.Default is resolved properly. Please ensure that the Kotlin version is at least 1.9.0 (but preferably, 1.9.21), and also try to build the project. If compilation doesn't report any errors, this means that the problem is on the side of Android Studio. If your project doesn't build with 1.8.0 but builds with 1.7.3, please provide a reproducer.

from kotlinx.coroutines.

cunhap avatar cunhap commented on September 28, 2024

Having this same bug here, using kotlin 1.9.22 works fine for Android and JVM, but as soon as I had anything native, it starts throwing this error.

from kotlinx.coroutines.

dkhalanskyjb avatar dkhalanskyjb commented on September 28, 2024

@cunhap, please read my message above.

from kotlinx.coroutines.

cunhap avatar cunhap commented on September 28, 2024

I have. I am using the latest IntellJ Ultimate, not Android Studio. It also happens when I add the js target. I think it's an IDE issue here as well, the code is compiling fine using the gradle assemble task. Any suggestions @dkhalanskyjb ? It's harder to code without the IDE accessing the information properly.

from kotlinx.coroutines.

dkhalanskyjb avatar dkhalanskyjb commented on September 28, 2024

Closing the issue for now, as it seems like it's not related to the coroutines library. If we receive some new information about the problem, we'll reopen the issue.

from kotlinx.coroutines.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.