NativeScript:在android上的主线程上发生未捕获的异常(在ios中运行完美)

时间:2017-03-16 07:08:06

标签: nativescript

我是nativescript的新手我开发了一个用于学习目的的简单应用程序。我试图在ios中运行它它work.whereas在android我不能运行 以下是面临的错误 enter image description here

以下是我的Package.json

{
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "readme": "NativeScript Application",
  "repository": "<fill-your-repository-here>",
  "nativescript": {
    "id": "org.nativescript.excercises",
    "tns-ios": {
      "version": "2.5.2"
    },
    "tns-android": {
      "version": "2.5.0"
    }
  },
  "dependencies": {
    "nativescript-checkbox": "^1.2.6",
    "nativescript-platform-css": "^1.4.0",
    "nativescript-star-ratings": "^0.1.0",
    "nativescript-theme-core": "~1.0.2",
    "nativescript-web-image-cache": "^3.4.0",
    "tns-core-modules": "^2.5.1"
  },
  "devDependencies": {
    "babel-traverse": "6.23.1",
    "babel-types": "6.23.0",
    "babylon": "6.16.1",
    "lazy": "1.0.11",
    "nativescript-dev-android-snapshot": "^0.*.*"
  }
}

提前致谢

0 个答案:

没有答案