question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

NS7 - @nativescript/firebase 11.0.0-rc.5 - Android - ./gradlew failed with exit code 1.

See original GitHub issue

Cant deploy to android. We are running latest ns cli (7.0.6-2020-09-07-183913-14253)

Looks like an error in crashlytics gradle, even though we have not enables crashlytics. I have updated android studio and tools, but looks like its getting a gradle plugin from build.

thoughts?

Details below…

Getting error… The Android Gradle plugin supports only Crashlytics Gradle plugin version 1.28.0 and higher. The following dependencies do not satisfy the required version: root project ‘fireERP’ -> io.fabric.tools:gradle:1.26.1

XXXXXXXX { "using_ios": true, "using_android": true, "analytics": true, "firestore": true, "realtimedb": false, "authentication": true, "remote_config": false, "performance_monitoring": false, "external_push_client_only": false, "messaging": false, "in_app_messaging": false, "crashlytics": false, "storage": true, "functions": true, "facebook_auth": true, "google_auth": true, "admob": false, "dynamic_links": false, "ml_kit": false }

package.json "dependencies": { "@alpha2k/nativescript-scss": "file:../../xplat/nativescript/scss", "@alpha2k/scss": "file:../../libs/scss", "@angular/animations": "~10.1.0", "@angular/common": "~10.1.0", "@angular/compiler": "~10.1.0", "@angular/core": "~10.1.0", "@angular/forms": "~10.1.0", "@angular/platform-browser": "~10.1.0", "@angular/platform-browser-dynamic": "~10.1.0", "@angular/router": "~10.1.0", "@nativescript/angular": "10.1.0", "@nativescript/core": "7.0.0", "@nativescript/firebase": "rc", "@nativescript/theme": "rc", "@ngx-translate/core": "~13.0.0", "@nstudio/nativescript-checkbox": "^1.0.0", "@nstudio/nativescript-cardview": "^2.0.0", "nativescript-intl": "~4.0.2", "nativescript-ui-chart": "^8.0.2", "nativescript-pager": "^12.0.0-alpha.9", "nativescript-ui-listview": "^9.0.2", "nativescript-ui-sidedrawer": "^9.0.3", "ngx-logger": "^4.1.9", "rxjs": "^6.5.5", "tslib": "~1.11.0", "zone.js": "0.11.1" }, "devDependencies": { "@angular/compiler-cli": "10.1.0", "@angular/language-service": "10.1.0", "@nativescript/android": "7.0.0", "@nativescript/ios": "7.0.0", "@nativescript/types": "7.0.1", "@nativescript/webpack": "3.0.2", "@ngtools/webpack": "10.1.0", "typescript": "3.9.7" },

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
NathanWalkercommented, Sep 9, 2020

@abcfoundry we’re still digging into some cases - My advice would be if this plugin is blocking your ability to update to {N} 7, just stay on {N} 6 until we publish a final latest version which I would anticipate would land sometime next week at latest.

0reactions
ok200paulcommented, Oct 6, 2020

Update on my side here, I had a reference to the old nativescript-plugin-firebase library in my code that I hadn’t picked up on. Once I removed all references to it, the android app began to build again. My issue is resolved @NathanWalker - thanks for looking into it.

Read more comments on GitHub >

github_iconTop Results From Across the Web

1 Answer - 1 - Stack Overflow
Solution. Copy platforms/android/~ directory to platforms/android/app/~ .
Read more >
flutter could not find or load main class org.gradle.wrapper ...
Finished with error: Exit code 1 from: /Users/me/Tim/quicktimer/android/gradlew -v: Error: Could not find or load main class org.gradle.wrapper.
Read more >
Hi, newbie here, i tried to build my app but it says error
BUILD FAILED in 45s Command failed with exit code 1 (EPERM): ./gradlew bundleRelease -x bundleReleaseJsAndAssets FAILURE: Build failed with ...
Read more >
Problems with Gradle wrapper on Android build - Mobile
bash: line 1: ./gradlew: No such file or directory. ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies returned exit code 127.
Read more >
Error: The process '/Users/runner/work/1/s/gradlew' failed with ...
Our builds on Android Azure pipeline are failing for the last 3 days. After analysis it doesn't seem to be a code issue...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found