question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

myproject/.idea/sqldelight/../shared/data/.sqldelight (No such file or directory)

See original GitHub issue

Trying to hook up a kotlin-multiplatform library that uses sqldelight. My myproject/android/settings.gradle:

include ':app'
include ':shareddata'
project(":shareddata").projectDir = file("../shared/data")
rootProject.name = "Quill"
enableFeaturePreview('GRADLE_METADATA')

Seems like it should work fine to include myproject/shared/data/build.gradle but I’m getting this error:

/Users/edenman/Development/myproject/android/.idea/sqldelight/../shared/data/.sqldelight (No such file or directory)

Do I just need to abandon this file layout scheme? I’m in a monorepo so I’d really like the shared code to not have to live in my android folder

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:11

github_iconTop GitHub Comments

2reactions
AlecStrongcommented, Aug 28, 2020

Hopefully! I wasn’t able to repro but the underlying structure changed a lot. If it’s still an issue feel free to reopen

On Fri, Aug 28, 2020 at 4:46 AM Krzysztof notifications@github.com wrote:

@AlecStrong https://github.com/AlecStrong

Sorry for late response, thanks for checking out 🙏

My structure was more like this:

shared

project

  • subproject

– settings.gradle (with projectDir)

But it seems that’s already resolved in a PR, so thanks.

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/cashapp/sqldelight/issues/1647#issuecomment-682406690, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMZBQG5POIINCFNZOAUTCTSC5VEPANCNFSM4MDNO65Q .

1reaction
krizzucommented, Aug 4, 2020

@AlecStrong Hey, any thoughts on that ^ ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Sqldelight database schema not generated - Stack Overflow
It seems that you have your sqldelight folder, where you put your *.sq files, in the wrong place. It should be put inside...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found