Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Liquidcore won't configure gradle file #237

Open
taylor-roli opened this issue Jul 25, 2024 · 0 comments
Open

Liquidcore won't configure gradle file #237

taylor-roli opened this issue Jul 25, 2024 · 0 comments

Comments

@taylor-roli
Copy link

taylor-roli commented Jul 25, 2024

I'm running step 3 in the tutorial, and running the command npx liquidcore gradle-config --module=app, and I get the following error in the root directory of my android app:

Module 'app" not found."
./settings.gradle not found.
WARN: Project directory 'C:\mypath\android-sample-app\android-app\node_modules\liquidcore\LiquidCore' does not exist, skipping
WARN: Project directory 'C:\mypath\android-sample-app\android-app\node_modules\liquidcore\LiquidV8' does not exist, skipping
node:fs:592
  handleErrorFromBinding(ctx);
  ^

Error: ENOENT: no such file or directory, open 'C:\mypath\android-sample-app\android-app\app\build.gradle'
    at Object.openSync (node:fs:592:3)
    at Object.readFileSync (node:fs:460:35)
    at gradle (C:\mypath\android-sample-app\android-app\node_modules\liquidcore\lib\gradle.js:179:18)
    at Object.<anonymous> (C:\mypath\android-sample-app\android-app\node_modules\liquidcore\lib\cli.js:76:1)
    at Module._compile (node:internal/modules/cjs/loader:1255:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1309:10)
    at Module.load (node:internal/modules/cjs/loader:1113:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47 {
  errno: -4058,
  syscall: 'open',
  code: 'ENOENT',
  path: 'C:\\mypath\\android-sample-app\\android-app\\app\\build.gradle'
}

Seems like it's not looking for the .kts file. Any ideas what could be going wrong?

app is the correct module for the project, btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant