Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Nativescript 无法解析配置';的所有项目:类路径'&燃气轮机;无法解析io.fabric。工具:渐变:1.26.1_Nativescript_Nativescript Firebase - Fatal编程技术网

Nativescript 无法解析配置';的所有项目:类路径'&燃气轮机;无法解析io.fabric。工具:渐变:1.26.1

Nativescript 无法解析配置';的所有项目:类路径'&燃气轮机;无法解析io.fabric。工具:渐变:1.26.1,nativescript,nativescript-firebase,Nativescript,Nativescript Firebase,我正在使用Nativescript firebase插件构建一个Nativescript应用程序。我已经在我的Windows10机器上运行了这个应用程序,但我想同时运行Android和IOS,所以我买了一台Mac电脑,开始在这个应用程序上进行移植。我查阅了有关如何设置它的文档。tns的医生是返回,一切都是好的,但我不断得到上述错误时,试图建立 这是我的package.json { "nativescript": { "id": "org.nativescript.myapp",

我正在使用Nativescript firebase插件构建一个Nativescript应用程序。我已经在我的Windows10机器上运行了这个应用程序,但我想同时运行Android和IOS,所以我买了一台Mac电脑,开始在这个应用程序上进行移植。我查阅了有关如何设置它的文档。tns的医生是返回,一切都是好的,但我不断得到上述错误时,试图建立

这是我的package.json

{
  "nativescript": {
    "id": "org.nativescript.myapp",
    "tns-ios": {
      "version": "6.5.0-2020-02-10-163848-01"
    },
    "tns-android": {
      "version": "6.4.1"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "scripts": {},
  "dependencies": {
    "@angular/animations": "~8.2.0",
    "@angular/common": "~8.2.0",
    "@angular/compiler": "~8.2.0",
    "@angular/core": "~8.2.0",
    "@angular/forms": "~8.2.0",
    "@angular/platform-browser": "~8.2.0",
    "@angular/platform-browser-dynamic": "~8.2.0",
    "@angular/router": "~8.2.0",
    "nativescript-angular": "~8.2.0",
    "nativescript-imagepicker": "^7.1.0",
    "nativescript-plugin-firebase": "^10.3.3",
    "nativescript-theme-core": "~1.0.6",
    "nativescript-ui-autocomplete": "^6.0.0",
    "nativescript-ui-sidedrawer": "^8.0.0",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.4.0",
    "tns-core-modules": "^6.4.0",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~8.2.0",
    "@ngtools/webpack": "8.2.0",
    "codelyzer": "~4.5.0",
    "nativescript-dev-webpack": "^1.5.0",
    "node-sass": "^4.7.1",
    "tslint": "~5.19.0",
    "typescript": "~3.5.3"
  }
}

从我收集的信息来看,这个io.fabric.tools似乎与Google crashlytics有关,因此我确保将其从firebase插件中删除,并删除了Google auth。所有这些似乎都没有什么不同

在禁用crashlytics之后,您是否尝试过干净的构建?我删除了hook、node_模块、platforms和package-lock.json,然后运行了npmi。还有别的吗?我刚刚运行了一个tns运行的android系统——clean。相同的错误。如果您已禁用crashlytics并执行了干净的生成,则应该会阻止结构库。您必须向插件作者咨询,Github中存在一些相关问题,可能正在解决这些问题,可能会给您带来一些帮助。
{
    "using_ios": true,
    "using_android": true,
    "analytics": false,
    "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": false,
    "facebook_auth": true,
    "google_auth": false,
    "admob": false,
    "dynamic_links": false,
    "ml_kit": false
}