• s

    Sanoj

    2 months ago
    👋 Anyone here tried fastlane gym to archive a KMP based iOS project to distribute to firebase (or any other platform) through circleCI? The build gets stuck trying to run
    embedAndSignAppleFrameworkForXcode
    on circleCI. Everything (including the firebase distribution) works fine locally.
    s
    s
    +1
    19 replies
    Copy to Clipboard
  • Tristan

    Tristan

    2 months ago
    Hello, currently using Kotlin
    1.7.0
    I am getting troubles to get a JS project being served via
    jsBrowserDevelopmentRun
    My browser is correctly opening my
    index.html
    file, but not able to fetch the JS (404). The gradle output is the following
    > Task :kotlinNodeJsSetup UP-TO-DATE
    > Task :kotlinNpmCachesSetup
    > Task :kotlinRestoreYarnLock UP-TO-DATE
    > Task :kotlinYarnSetup UP-TO-DATE
    > Task :adView:jsPackageJson UP-TO-DATE
    > Task :adView:jsTestPackageJson UP-TO-DATE
    > Task :packageJsonUmbrella UP-TO-DATE
    > Task :rootPackageJson UP-TO-DATE
    > Task :kotlinNpmInstall UP-TO-DATE
    > Task :kotlinStoreYarnLock UP-TO-DATE
    > Task :adView:jsGenerateExternalsIntegrated SKIPPED
    > Task :adView:compileKotlinJs UP-TO-DATE
    > Task :adView:jsProcessResources UP-TO-DATE
    > Task :adView:jsMainClasses UP-TO-DATE
    > Task :adView:compileDevelopmentExecutableKotlinJs UP-TO-DATE
    > Task :adView:jsDevelopmentExecutableCompileSync
    
    > Task :adView:jsBrowserDevelopmentRun
    Execution optimizations have been disabled for task ':adView:jsBrowserDevelopmentRun' to ensure correctness due to the following reasons:
      - Gradle detected a problem with the following location: '/Users/tristan/AndroidStudioProjects/Ads/build/js/packages/Ads-adView/kotlin/Ads-adView.js'. Reason: Task ':adView:jsBrowserDevelopmentRun' uses this output of task ':adView:jsDevelopmentExecutableCompileSync' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed. Please refer to <https://docs.gradle.org/7.4.2/userguide/validation_problems.html#implicit_dependency> for more details about this problem.
    <i> [webpack-dev-server] Project is running at:
    <i> [webpack-dev-server] Loopback: <http://localhost:8080/>
    <i> [webpack-dev-server] On Your Network (IPv4): <http://10.0.0.3:8080/>
    <i> [webpack-dev-server] On Your Network (IPv6): http://[fe80::1]:8080/
    <i> [webpack-dev-server] Content not from webpack is served from '/Users/tristan/AndroidStudioProjects/Ads/adView/build/processedResources/js/main' directory
    <i> [webpack-dev-middleware] wait until bundle finished: /
    I am also joining the content of
    build
    as a screenshot. Are there any steps I missed? Thanks a lot for your help.
    Tristan
    1 replies
    Copy to Clipboard
  • s

    Shubham Singh

    2 months ago
    Hi Folks This might be a stupid question But how do I add the support for Kotlin React JS (Web)? Do I need to add it to both top-level and inside common MPP module as well? Or just adding it to top-level would work?
    s
    xiaobailong24
    2 replies
    Copy to Clipboard
  • y9san9

    y9san9

    2 months ago
    Hello folks, is there any library to work with USB in multiplatform? 🙂
  • mbonnin

    mbonnin

    2 months ago
    Just want to say that I now have AGP 7.2.0 working in IntelliJ and my Android code can now recognize all the MPP symbols 🙌. Thanks to everyone who worked on this 💙 :android-10: :kotlinnew:
    mbonnin
    Michael Paus
    +3
    27 replies
    Copy to Clipboard
  • xiaobailong24

    xiaobailong24

    2 months ago
    Hello folks, has anyone got this issue in new MM?https://youtrack.jetbrains.com/issue/KT-53316
  • Andy Wu

    Andy Wu

    2 months ago
    I am testing out KMM, and having a KMM library connecting to a grpc service on hosting machine. I then have a simple test in
    commonTest
    , trying to make the connection to the service. I then run the test from AS, choosing
    Android
    as the target. However, I simply cannot make it work: If I use
    localhost
    as the destination host, I get a connection rejection error. Then I thought maybe this is running from Android emulator, so I use
    10.0.2.2
    . This gives me
    Operation timed out
    error. So, what is the right way to connect to a service on the host OS from KMM test targeting Android?
    Andy Wu
    1 replies
    Copy to Clipboard
  • d

    darkmoon_uk

    2 months ago
    I find when developing :compose-multiplatform: Compose/ :kotlinnew: Multi-Platform code I switch between [JB] IDE's frequently. This code to auto-select the Android Gradle Plugin version has become a significant time-saver 😄 🎁 Welcome to copy; or... would you even find this useful as a Gradle plugin? Perhaps pointing to some kind of centrally updated IDE/AGP version map? (This would go in top-level
    build.gradle.kts
    )
    d
    e
    2 replies
    Copy to Clipboard
  • Alejandro Rios

    Alejandro Rios

    2 months ago
    Hello, does anyone have a repo sample of a KMM project with each project separately?
    Alejandro Rios
    Javier
    11 replies
    Copy to Clipboard
  • Francis Mariano

    Francis Mariano

    2 months ago
    Hello everyone. Is it possible to check what is the applicationId or flavor name (android) in the shared code???
    Francis Mariano
    Landry Norris
    2 replies
    Copy to Clipboard