couldn't load user-defined configuration from /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/app/App_Resources/Android/app.gradle. File doesn't exist.
Using support library version 28.0.0
adding jar plugin dependency: /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/node_modules/nativescript-webview-interface/platforms/android/WebViewInterface.jar
adding aar plugin dependency: /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Project successfully built.
Installing on device emulator-5554...
Successfully installed on device with identifier 'emulator-5554'.
Refreshing application on device emulator-5554...
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.callJSMethodNative(Native Method)
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:983)
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:967)
11-16 11:59:58.282 19818 19818 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.nativescriptcanvasdemo/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
System.err: Calling js method onCreate failed
System.err:
System.err: TypeError: Cannot read property 'create' of undefined
System.err: File: "file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js, line: 75, column: 14
System.err:
System.err: StackTrace:
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js', line: 75, column: 15
System.err: Frame: function:'FrameBase.navigate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js', line: 119, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 892, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 751, column: 14
System.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25
System.err:
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
System.err: at android.os.Looper.loop(Looper.java:193)
System.err: at android.app.ActivityThread.main(ActivityThread.java:6669)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
System.err: Caused by: com.tns.NativeScriptException:
System.err: Calling js method onCreate failed
System.err:
System.err: TypeError: Cannot read property 'create' of undefined
System.err: File: "file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js, line: 75, column: 14
System.err:
System.err: StackTrace:
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js', line: 75, column: 15
System.err: Frame: function:'FrameBase.navigate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js', line: 119, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 892, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 751, column: 14
System.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25
System.err:
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:18)
System.err: at android.app.Activity.performCreate(Activity.java:7136)
System.err: at android.app.Activity.performCreate(Activity.java:7127)
System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
System.err: ... 11 more
Successfully synced application org.nativescript.nativescriptcanvasdemo on device emulator-5554.
Skipping prepare.
Successfully transferred app.js on device emulator-5554.
Successfully transferred main-page.js on device emulator-5554.
Successfully transferred index.js on device emulator-5554.
Refreshing application on device emulator-5554...
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.callJSMethodNative(Native Method)
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:983)
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:967)
11-16 12:00:05.607 19939 19939 E AndroidRuntime: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.nativescriptcanvasdemo/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
System.err: Calling js method onCreate failed
System.err:
System.err: TypeError: Cannot read property 'create' of undefined
System.err: File: "file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js, line: 75, column: 14
System.err:
System.err: StackTrace:
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js', line: 75, column: 15
System.err: Frame: function:'FrameBase.navigate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js', line: 119, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 892, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 751, column: 14
System.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25
System.err:
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2913)
System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3048)
System.err: at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
System.err: at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
System.err: at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1808)
System.err: at android.os.Handler.dispatchMessage(Handler.java:106)
System.err: at android.os.Looper.loop(Looper.java:193)
System.err: at android.app.ActivityThread.main(ActivityThread.java:6669)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
System.err: Caused by: com.tns.NativeScriptException:
System.err: Calling js method onCreate failed
System.err:
System.err: TypeError: Cannot read property 'create' of undefined
System.err: File: "file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js, line: 75, column: 14
System.err:
System.err: StackTrace:
System.err: Frame: function:'', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/builder/builder.js', line: 75, column: 15
System.err: Frame: function:'FrameBase.navigate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js', line: 119, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.setActivityContent', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 892, column: 30
System.err: Frame: function:'ActivityCallbacksImplementation.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/frame.js', line: 751, column: 14
System.err: Frame: function:'NativeScriptActivity.onCreate', file:'file:///data/data/org.nativescript.nativescriptcanvasdemo/files/app/tns_modules/tns-core-modules/ui/frame/activity.js', line: 20, column: 25
System.err:
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1116)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:996)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:983)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:967)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:959)
System.err: at com.tns.NativeScriptActivity.onCreate(NativeScriptActivity.java:18)
System.err: at android.app.Activity.performCreate(Activity.java:7136)
System.err: at android.app.Activity.performCreate(Activity.java:7127)
System.err: at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1271)
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2893)
System.err: ... 11 more
Successfully synced application org.nativescript.nativescriptcanvasdemo on device emulator-5554.`
This is what I get when I try to run on Android Pie using a Pixel 2 emulator:
`> tns run android Skipping node_modules folder! Use the syncAllFiles option to sync files from this folder. Searching for devices... Executing before-watch hook from /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/hooks/before-watch/nativescript-dev-typescript.js Found peer TypeScript 1.8.10 Executing before-prepare hook from /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/hooks/before-prepare/nativescript-dev-typescript.js Preparing project... No manifest found in /Users/dbrogdon/Documents/Development/NativeScriptCanvasInterfaceDemo/app/App_Resources/Android/AndroidManifest.xml node_modules/tns-core-modules/module.d.ts(43,9): error TS1131: Property or signature expected. node_modules/tns-core-modules/module.d.ts(43,18): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(44,24): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(44,33): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(45,26): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(45,35): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(46,34): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(46,52): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(46,58): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(46,64): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(47,31): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(47,42): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(48,17): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(49,26): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(49,40): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(49,70): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(49,76): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(50,28): error TS1005: ',' expected. node_modules/tns-core-modules/module.d.ts(50,42): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(50,72): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(50,78): error TS1005: ';' expected. node_modules/tns-core-modules/module.d.ts(51,18): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(52,21): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(54,33): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(55,37): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(56,62): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(57,21): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(58,27): error TS1109: Expression expected. node_modules/tns-core-modules/module.d.ts(60,1): error TS1128: Declaration or statement expected. 11:58:23 AM - Compilation complete. Watching for file changes. Successfully prepared plugin nativescript-canvas-interface for android. Successfully prepared plugin tns-core-modules for android. Successfully prepared plugin nativescript-webview-interface for android. Successfully prepared plugin tns-core-modules-widgets for android. Project successfully prepared (Android) Building project... Gradle build...