Open oskarinn opened 6 years ago
I got this error when run the code sample:
JS: ERROR TypeError: Cannot read property 'Builder' of undefined
Android 7.0 Device Moto C
CLI: 4.2.3
Cross-platform modules: 4.2.1
Runtime(s): "tns-android: 4.2.0", "tns-ios: 4.2.0"
Plugin(s): "dependencies": { "@angular/animations": "~6.1.0", "@angular/common": "~6.1.0", "@angular/compiler": "~6.1.0", "@angular/core": "~6.1.0", "@angular/forms": "~6.1.0", "@angular/http": "~6.1.0", "@angular/platform-browser": "~6.1.0", "@angular/platform-browser-dynamic": "~6.1.0", "@angular/router": "~6.1.0", "moment": "^2.22.2", "nativescript-angular": "~6.1.0", "nativescript-rating-dialog": "^1.0.2", "nativescript-theme-core": "~1.0.4", "nativescript-ui-autocomplete": "3.9.0", "nativescript-ui-calendar": "3.8.1", "nativescript-ui-chart": "3.9.0", "nativescript-ui-dataform": "3.7.2", "nativescript-ui-listview": "3.7.0", "nativescript-ui-sidedrawer": "~4.2.0", "reflect-metadata": "~0.1.10", "rxjs": "~6.2.0", "tns-core-modules": "~4.2.0", "zone.js": "~0.8.18" }, "devDependencies": { "@nativescript/schematics": "~0.2.5", "codelyzer": "~4.3.0", "nativescript-dev-sass": "~1.6.0", "nativescript-dev-typescript": "~0.7.0", "nativescript-dev-webpack": "~0.16.0", "tslint": "~5.11.0", "typescript": "~2.7.2", "@angular/compiler-cli": "~6.1.0", "@ngtools/webpack": "~6.2.0" },
Install plugin Paste code sample and run it
Looks like you did not run tns platform clean android (or ios), before you tried the plugin
tns platform clean android
I got this error when run the code sample:
JS: ERROR TypeError: Cannot read property 'Builder' of undefined
Which platform(s) does your issue occur on?
Android 7.0 Device Moto C
Please, provide the following version numbers that your issue occurs with:
CLI: 4.2.3
Cross-platform modules: 4.2.1
Runtime(s): "tns-android: 4.2.0", "tns-ios: 4.2.0"
Plugin(s): "dependencies": { "@angular/animations": "~6.1.0", "@angular/common": "~6.1.0", "@angular/compiler": "~6.1.0", "@angular/core": "~6.1.0", "@angular/forms": "~6.1.0", "@angular/http": "~6.1.0", "@angular/platform-browser": "~6.1.0", "@angular/platform-browser-dynamic": "~6.1.0", "@angular/router": "~6.1.0", "moment": "^2.22.2", "nativescript-angular": "~6.1.0", "nativescript-rating-dialog": "^1.0.2", "nativescript-theme-core": "~1.0.4", "nativescript-ui-autocomplete": "3.9.0", "nativescript-ui-calendar": "3.8.1", "nativescript-ui-chart": "3.9.0", "nativescript-ui-dataform": "3.7.2", "nativescript-ui-listview": "3.7.0", "nativescript-ui-sidedrawer": "~4.2.0", "reflect-metadata": "~0.1.10", "rxjs": "~6.2.0", "tns-core-modules": "~4.2.0", "zone.js": "~0.8.18" }, "devDependencies": { "@nativescript/schematics": "~0.2.5", "codelyzer": "~4.3.0", "nativescript-dev-sass": "~1.6.0", "nativescript-dev-typescript": "~0.7.0", "nativescript-dev-webpack": "~0.16.0", "tslint": "~5.11.0", "typescript": "~2.7.2", "@angular/compiler-cli": "~6.1.0", "@ngtools/webpack": "~6.2.0" },
Please, tell us how to recreate the issue in as much detail as possible.
Install plugin Paste code sample and run it
Is there any code involved?