Nativescript 7.0.0 failed to build plugin @nativescript/firebase
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- android, angular, typescript
- Lĩnh vực
- build-system, mobile
Hướng nghiên cứu
Bắt đầu với các phiên bản trong package.json và tái hiện lỗi bằng cách sử dụng "tns run android". Truy vết đầu ra build của @nativescript/firebase, đặc biệt là dependency chưa được phân giải com.android.tools.build:gradle:7.3.; công việc được xem là hoàn tất khi Android build hoàn thành thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I have upgraded my nativescript project from 6 to 7, as part of upgrade process I've to change my nativescript-plugin-firebase: 10.6.3 to @nativescript/firebase: 11.1.3.
When I run android using "tns run android" it is failing with below error.
ERROR in The loader "/xxxxxx/xxxxxx/Downloads/mobileApp/Apex/src/app/app.component.html" didn't return a string.
Webpack compilation complete. Watching for file changes.
Webpack build done!
nativescript-plugin-firebase: /xxxxxx/xxxxxx/Downloads/mobileApp/Apex/platforms/android/.pluginfirebaseinfo not found, forcing prepare!
nativescript-plugin-firebase: running release build or change in environment detected, forcing prepare!
FAILURE: Build failed with an exception.
- What went wrong:
A problem occurred configuring root project 'firebase'.
Could not resolve all files for configuration ':classpath'.
Could not find com.android.tools.build:gradle:7.3..
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.3./gradle-7.3..pom
- https://jcenter.bintray.com/com/android/tools/build/gradle/7.3./gradle-7.3..pom
Required by:
project :
- 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 1s
Failed to build plugin @nativescript/firebase :
Error: Command ./gradlew failed with exit code 1
Package.json
{
"scripts": {
"clean": "tns platform clean ios && tns platform clean android",
"android": "tns run android --env.aot",
"ios": "tns run ios --env.aot",
"ios-prod": "tns run ios --env.aot --env.name=production",
"android-prod": "tns run android --env.aot --env.name=production",
"deploy": "./appcenter_deploy.sh ",
"lint": "tslint "src/**/*.ts""
},
"dependencies": {
"@angular/animations": "10.2.5",
"@angular/common": "10.2.5",
"@angular/compiler": "10.2.5",
"@angular/core": "10.2.5",
"@angular/forms": "10.2.5",
"@angular/http": "8.0.0-beta.10",
"@angular/platform-browser": "10.2.5",
"@angular/platform-browser-dynamic": "10.2.5",
"@angular/router": "10.2.5",
"@nativescript/angular": "10.0.0",
"@nativescript/core": "7.0.0",
"@nativescript/firebase": "^11.1.3",
"@nativescript/webpack": "3.0.0",
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"@ngxs-labs/emitter": "^2.0.0",
"@ngxs/store": "^3.6.1",
"@nstudio/nativescript-cardview": "^1.0.0",
"@nstudio/nativescript-checkbox": "^1.0.0",
"@nstudio/nativescript-loading-indicator": "3.0.4",
"@nstudio/nativescript-pulltorefresh": "^1.1.1",
"ajv": "^6.10.0",
"base-64": "^0.1.0",
"bootstrap": "^4.3.1",
"core-js": "3.4.1",
"d3-ease": "^1.0.6",
"i": "^0.3.6",
"jquery": "^3.4.1",
"moment": "^2.24.0",
"nativescript-android-utils": "^1.0.2",
"nativescript-appavailability": "^1.3.2",
"nativescript-appversion": "^1.4.2",
"nativescript-audio": "^6.0.0",
"nativescript-azure-mobile-apps": "^2.0.3",
"nativescript-background-http": "^4.2.0",
"nativescript-camera": "^4.5.0",
"nativescript-drawingpad": "^3.1.0",
"nativescript-drop-down": "^5.0.4",
"nativescript-email": "^1.5.5",
"nativescript-exit": "^1.0.1",
"nativescript-fingerprint-auth": "^7.0.2",
"nativescript-geolocation": "^5.1.0",
"nativescript-imagepicker": "^7.1.0",
"nativescript-iqkeyboardmanager": "^1.5.1",
"nativescript-local-notifications": "^4.1.5",
"nativescript-mediafilepicker": "^4.0.0",
"nativescript-microsoft-appcenter": "^2.0.0",
"nativescript-permissions": "^1.3.8",
"nativescript-phone": "2.0.0",
"nativescript-photo-editor": "^1.1.0",
"nativescript-secure-storage": "^2.6.0",
"nativescript-swiss-army-knife": "^4.0.2",
"nativescript-theme-core": "^2.0.24",
"nativescript-toasty": "^3.0.0-alpha.2",
"nativescript-ui-calendar": "8.0.2",
"nativescript-ui-dataform": "8.0.1",
"nativescript-ui-listview": "^8.0.0",
"nativescript-ui-sidedrawer": "9.0.3",
"npm": "^6.14.4",
"popper.js": "^1.15.0",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.4.0",
"tslib": "^1.10.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1002.4",
"@angular/cli": "^10.2.4",
"@angular/compiler-cli": "~10.2.5",
"@nativescript/android": "7.0.0",
"@nativescript/ios": "7.0.1",
"@nativescript/schematics": "~0.7.3",
"@nativescript/types": "7.0.0",
"@ngtools/webpack": "~8.2.0",
"@types/d3-ease": "^1.0.9",
"@types/jasmine": "2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"ng-packagr": "^16.0.1",
"node-sass": "^4.13.1",
"protractor": "^6.0.0",
"ts-node": "8.5.0",
"ts-patch": "^2.1.0",
"tslint": "5.18.0",
"typescript": "4.0.8",
"webpack": "^4.46.0"
},
"main": "main.js"
}
please suggest me a solution thanks
- Ngôn ngữ chính
- TypeScript
- Star
- 62
- Fork
- 53
- Merge trung bình
- 8 ngày 4 giờ
- Pull request đã merge (30 ngày)
- 2
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NativeScript/firebase
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
NativeScript/firebase#292 ·
-
Can't install package Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
NativeScript/firebase#289 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
NativeScript/firebase#288 · 4 reaction ·
-
bug ios
NativeScript/firebase#287 · 1 người được giao ·
-
Uh-Oh Shazam Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
NativeScript/firebase#286 ·
Tất cả issue của NativeScript/firebase
Issue tương tự
-
[Bug]: Discord Activity titles with emoji are rejected as over 80 characters when they are not Đang mởclawsweeper:linked-pr-open clawsweeper:no-new-fix-pr clawsweeper:source-repro impact:message-loss issue-rating: 🦞 diamond lobster maturity:stable P2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Eynzof/Hermes-CN-Desktop#616 ·
-
ZCode 3.14.3 に対応する Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
supermomonga/zcode-acp#24 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
growthbook/growthbook#7100 ·
-
triage
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100