You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App build fails with: Could not get unknown property 'debugCompileClasspath' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer. #1062
Please provide the following version numbers that your issue occurs with:
CLI: CLI-PR-2018.5.16.8, that targets PR for "Allow using JAVA 8+"
Runtime(s): tns-android current next
Did the error happen while the app was being constructed? (buildtime error)
yes
This is the error:
Gradle build...
+ setting applicationId
+ applying user-defined configuration from /Volumes/NHRISTOVA/Work/NS/AppJ/app/App_Resources/Android/app.gradle
+ adding nativescript runtime package dependency: nativescript-optimized-with-inspector
+ adding aar plugin dependency: /Volumes/NHRISTOVA/Work/NS/AppJ/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
FAILURE: Build failed with an exception.
* Where:
Build file '/Volumes/NHRISTOVA/Work/NS/AppJ/platforms/android/app/build.gradle' line: 407
* What went wrong:
Execution failed for task ':app:extractAllJars'.
> Could not get unknown property 'debugCompileClasspath' for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.
Did the error happen while the app was executing? (runtime error)
no
Please tell us how to recreate the issue in as much detail as possible.
Make sure you installed the specific version of CLI
tns create SomeApp
Replace ../app/App_Resources/Android/app.gradle with this one
tns platform add android@next
tns build android
Consider using the playground to provide the code you have issues with.