Closed KevSeenan closed 1 year ago
I believe you can just delete the settings.gradle
that's an old artifact from a previous version that's no longer used in that form.
I recommend copying over the defaults from a fresh project:
Thanks @rigor789 for the quick reply.
I have tried what you advised and now get a different error:
Gradle build...
Script '/
Have you seen this before? Does this mean I need to change firebase plugin?
I have seen that before, but I can't recall the solution (other than switching/migrating to the new firebase-core plugins). Perhaps there's a solution somewhere in the old firebase repo.
Actually, found this: https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1882#issuecomment-1165777314
But note that the old firebase plugin is deprecated, so it's best to migrate to the new one instead.
Will look into the post and migrating.
Thanks again for the speedy response.
Have a good day!
Update
Migrating worked so closing the issue.
I followed him https://github.com/EddyVerbruggen/nativescript-plugin-firebase/issues/1882#issuecomment-1165777314/ and It works with me
Environment Provide version numbers for the following components (information can be retrieved by running
tns info
in your project folder or by inspecting thepackage.json
of the project):Describe the bug
ns run android gets to Gradle build and fails. Below is the output form the terminal:
Here is the settings.gradle file:
Here is the app.gradle file:
Here is my package.json -
I have tried upgrading to latest version of node (18.16.0), upgrading Android Studio (Flamingo), removing the gradle file from my home directory so it re-installs on ns run android but I'm still getting the error. Reverting to older versions of the run time / cli also doesn't help.
Any help with this would be greatly appreciated. Thanks.