-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
appPackageJson.dependencies mistaken for dependencies {} block #1
Comments
Let me point out this is the fault of NativeScript CLI being unable to parse those blocks properly. The problem seems to lie in this method: https://github.com/NativeScript/nativescript-cli/blob/main/lib/services/android-plugin-build-service.ts#L179 |
OK it is weird it works here. Must be my CLI fork which makes it work |
Hi, I had a build issue due to Gradle mistaking this line for a
dependencies {}
block when it generatesbuild.gradle
. Removing the line innode_modules/@nativescript-community/ui-cameraview/platforms/android/include.gradle
(not commenting it out) fixed the issue. Seems that gradle treats the worddependencies
like a reserved word.Credit goes to @CatchABus for catching it.
The text was updated successfully, but these errors were encountered: