Content-Length: 221762 | pFad | http://github.com/NativeScript/NativeScript/issues/10687

00 Could not determine the dependencies of task ':compileReleaseJavaWithJavac' · Issue #10687 · NativeScript/NativeScript · GitHub
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

Could not determine the dependencies of task ':compileReleaseJavaWithJavac' #10687

Open
3 tasks done
emog opened this issue Feb 2, 2025 · 0 comments
Open
3 tasks done
Labels
bug-pending-triage Reported bug, pending triage to confirm.

Comments

@emog
Copy link

emog commented Feb 2, 2025

Issue Description

In a new typescript project Hello World when I make ns build android I got an error:

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not determine the dependencies of task ':compileReleaseJavaWithJavac'.

Could not determine the dependencies of null.
Cannot query the value of this provider because it has no value available.

ns doctor:

No issues were detected.
✔ Your ANDROID_HOME environment variable is set and points to correct directory.
✔ Your adb from the Android SDK is correctly installed.
✔ The Android SDK is installed.
✔ A compatible Android SDK for compilation is found.
✔ Javac is installed and is configured properly.
✔ The Java Development Kit (JDK) is installed and is configured properly.
✔ Xcode is installed and is configured properly.
✔ xcodeproj is installed and is configured properly.
✔ CocoaPods are installed.
✔ CocoaPods update is not required.
✔ CocoaPods are configured properly.
✔ Your current CocoaPods version is newer than 1.0.0.
✔ Python installed and configured correctly.
✔ Xcode version 16.2.0 satisfies minimum required version 10.
✔ Getting NativeScript components versions information...
✔ Component nativescript has 8.8.3 version and is up to date.
✔ Component @nativescript/core has 8.8.6 version and is up to date.
✖ Component @nativescript/ios is not installed.
✔ Component @nativescript/android has 8.8.6 version and is up to date.

Reproduction

No response

Relevant log output (if applicable)

ns build android
Preparing project...
asset vendor.js 6.8 MiB [compared for emit] (name: vendor) (id hint: defaultVendor)
asset bundle.js 365 KiB [compared for emit] (name: bundle)
asset runtime.js 11.5 KiB [compared for emit] (name: runtime)
asset tns_modules/inspector_modules.js 1.26 KiB [compared for emit] (name: tns_modules/inspector_modules)
Entrypoint bundle 7.16 MiB = runtime.js 11.5 KiB vendor.js 6.8 MiB bundle.js 365 KiB
Entrypoint tns_modules/inspector_modules 6.81 MiB = runtime.js 11.5 KiB vendor.js 6.8 MiB tns_modules/inspector_modules.js 1.26 KiB
orphan modules 20.9 KiB [orphan] 12 modules
runtime modules 2.46 KiB 7 modules
modules by path ./node_modules/@nativescript/ 1.6 MiB 212 modules
modules by path ./node_modules/css-tree/ 317 KiB 113 modules
modules by path ./app/ 131 KiB 7 modules
modules by path ./node_modules/source-map/lib/*.js 36.3 KiB 6 modules
modules by path ./node_modules/reduce-css-calc/dist/ 131 KiB 5 modules
modules by path ./node_modules/postcss-value-parser/lib/*.js 12.5 KiB 5 modules
modules by path ./node_modules/mdn-data/css/*.json 242 KiB
  ./node_modules/mdn-data/css/at-rules.json 11.6 KiB [built] [code generated]
  + 2 modules
modules by path ./node_modules/css-what/lib/es/*.js 17.3 KiB
  ./node_modules/css-what/lib/es/parse.js 16 KiB [built] [code generated]
  ./node_modules/css-what/lib/es/types.js 1.29 KiB [built] [code generated]
+ 5 modules
webpack 5.97.1 compiled successfully in 1352 ms
Webpack compilation complete.
         ~ applying user-defined configuration from /Users/someuser/AppDevelopment/nativescript/emotest2/App_Resources/Android/before-plugins.gradle

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':compileReleaseJavaWithJavac'.
> Could not determine the dependencies of null.
   > Cannot query the value of this provider because it has no value available.

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.

BUILD FAILED in 246ms
Failed to build plugin @nativescript/core :
Error: Command ./gradlew failed with exit code 1

Environment

OS: macOS 15.3
CPU: (14) arm64 Apple M4 Max
Shell: /bin/zsh
node: 23.7.0
npm: 10.9.2
nativescript: 8.8.3

# android
java: 17.0.14
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found

# ios
xcode: 16.2/16C5032a
cocoapods: 1.16.2
python: Not Found
python3: 3.9.6
ruby: 3.3.7
platforms:
  - DriverKit 24.2
  - iOS 18.2
  - macOS 15.2
  - tvOS 18.2
  - visionOS 2.2
  - watchOS 11.2

Dependencies

"dependencies": {
  "@nativescript/core": "~8.8.0",
  "@nativescript/theme": "^3.1.0"
},
"devDependencies": {
  "@nativescript/android": "8.8.6",
  "@nativescript/types": "~8.8.0",
  "@nativescript/webpack": "~5.0.0",
  "typescript": "~5.4.0"
}

Please accept these terms

@emog emog added the bug-pending-triage Reported bug, pending triage to confirm. label Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug-pending-triage Reported bug, pending triage to confirm.
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/issues/10687

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy