testSideKick $ tns run --bundle --env.snapshot Searching for devices... Executing before-prepare hook from /home/fabri/Projects/testSideKick/hooks/before-prepare/nativescript-dev-sass.js Executing before-prepare hook from /home/fabri/Projects/testSideKick/hooks/before-prepare/nativescript-dev-typescript.js Hook skipped because either bundling or livesync is in progress. Preparing project... Executing before-prepareJSApp hook from /home/fabri/Projects/testSideKick/hooks/before-prepareJSApp/nativescript-dev-webpack.js Running webpack for Android... Project root: /home/fabri/Projects/testSideKick Snapshots build directory: /home/fabri/Projects/testSideKick/platforms/android/app/snapshot-build/build 95% emitting Snapshotting bundle at /home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/vendor.js Running snapshot generation with the following arguments: { "inputFile": "/home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/vendor.js", "preprocessedInputFile": "/home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/_embedded_script_.js", "targetArchs": [ "arm", "arm64", "ia32" ], "useLibs": false, "tnsJavaClassesPath": "/home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/tns-java-classes.js" } Snapshot tools path: /tmp/snapshot-tools Webpack compilation complete. ***** Generating snapshot for armeabi-v7a ***** ***** Generating snapshot for arm64-v8a ***** ***** Generating snapshot for x86 ***** Loading script for embedding: /home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/_embedded_script_.js Executing custom snapshot script took 265.565 ms Deserialization will reserve: 9851176 bytes per isolate 1263408 bytes per context #0 Snapshot blob consists of: 9202516 bytes for startup 633476 bytes for context #0 Creating snapshot took 473.639 ms Loading script for embedding: /home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/_embedded_script_.js Executing custom snapshot script took 1502.647 ms Deserialization will reserve: 9982092 bytes per isolate 1262208 bytes per context #0 Snapshot blob consists of: 9318164 bytes for startup 633508 bytes for context #0 Creating snapshot took 1719.089 ms Loading script for embedding: /home/fabri/Projects/testSideKick/platforms/android/app/src/main/assets/app/_embedded_script_.js Executing custom snapshot script took 1613.717 ms Deserialization will reserve: 11644752 bytes per isolate 2526480 bytes per context #0 Snapshot blob consists of: 9733072 bytes for startup 846500 bytes for context #0 Creating snapshot took 1825.784 ms ***** Finished generating snapshots. ***** Snapshots build finished succesfully! Successfully generated snapshots! Hash: 4ec93f0c5058fb423baa Version: webpack 3.10.0 Time: 6897ms Asset Size Chunks Chunk Names App_Resources/Android/values/styles.xml 1.72 kB [emitted] 0.js 54.3 kB 0 [emitted] 2.js 54.1 kB 2 [emitted] 3.js 54.3 kB 3 [emitted] 4.js 54.2 kB 4 [emitted] bundle.js 1.34 MB 5 [emitted] [big] bundle tns-java-classes.js 483 bytes 6 [emitted] tns-java-classes vendor.js 3.58 MB 7 [emitted] [big] vendor fonts/FontAwesome.ttf 166 kB [emitted] App_Resources/Android/app.gradle 569 bytes [emitted] App_Resources/Android/drawable-hdpi/background.png 3.5 kB [emitted] App_Resources/Android/AndroidManifest.xml 1.4 kB [emitted] App_Resources/Android/drawable-hdpi/logo.png 33.2 kB [emitted] App_Resources/Android/drawable-hdpi/icon.png 6.97 kB [emitted] App_Resources/Android/drawable-hdpi/menu.png 291 bytes [emitted] App_Resources/Android/drawable-ldpi/background.png 1.34 kB [emitted] App_Resources/Android/drawable-ldpi/logo.png 10.2 kB [emitted] App_Resources/Android/drawable-mdpi/background.png 1.93 kB [emitted] App_Resources/Android/drawable-mdpi/logo.png 16.1 kB [emitted] App_Resources/Android/drawable-ldpi/icon.png 3.3 kB [emitted] App_Resources/Android/drawable-ldpi/menu.png 213 bytes [emitted] App_Resources/Android/drawable-mdpi/menu.png 235 bytes [emitted] App_Resources/Android/drawable-mdpi/icon.png 3.51 kB [emitted] App_Resources/Android/drawable-nodpi/splash_screen.xml 304 bytes [emitted] App_Resources/Android/drawable-xhdpi/background.png 5.39 kB [emitted] App_Resources/Android/drawable-xhdpi/icon.png 10.6 kB [emitted] App_Resources/Android/drawable-xhdpi/menu.png 297 bytes [emitted] App_Resources/Android/drawable-xhdpi/logo.png 55.3 kB [emitted] App_Resources/Android/drawable-xxhdpi/icon.png 20.8 kB [emitted] App_Resources/Android/drawable-xxhdpi/background.png 10.5 kB [emitted] App_Resources/Android/drawable-xxhdpi/logo.png 119 kB [emitted] App_Resources/Android/drawable-xxxhdpi/background.png 3.96 kB [emitted] App_Resources/Android/drawable-xxxhdpi/icon.png 75.5 kB [emitted] App_Resources/Android/drawable-xxhdpi/menu.png 378 bytes [emitted] App_Resources/Android/settings.gradle 1.5 kB [emitted] App_Resources/Android/drawable-xxxhdpi/menu.png 466 bytes [emitted] App_Resources/Android/values-v21/colors.xml 104 bytes [emitted] App_Resources/Android/settings.json 86 bytes [emitted] App_Resources/Android/values-v21/styles.xml 1.01 kB [emitted] App_Resources/Android/drawable-xxxhdpi/logo.png 197 kB [emitted] App_Resources/Android/values/colors.xml 237 bytes [emitted] 1.js 54.2 kB 1 [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png 1.68 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png 4.84 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png 101 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png 2.67 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png 9.46 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/Contents.json 1.89 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png 7.77 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png 15 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png 15 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png 32.2 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png 22.8 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png 7.41 kB [emitted] App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png 28.3 kB [emitted] App_Resources/iOS/Assets.xcassets/Contents.json 62 bytes [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-568h@2x.png 63.7 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Contents.json 4.25 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-736h@3x.png 184 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-667h@2x.png 114 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-1125h.png 164 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait.png 61 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape-X.png 169 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape.png 62.4 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default.png 20.8 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png 191 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default@2x.png 62.9 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png 1.71 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/Contents.json 373 bytes [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png 186 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png 4 kB [emitted] App_Resources/iOS/build.xcconfig 504 bytes [emitted] App_Resources/iOS/Info.plist 1.72 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/Contents.json 365 bytes [emitted] App_Resources/iOS/navigation/menu.png 235 bytes [emitted] App_Resources/iOS/LaunchScreen.storyboard 3.93 kB [emitted] App_Resources/iOS/navigation/menu@3x.png 378 bytes [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png 66.8 kB [emitted] App_Resources/iOS/Assets.xcassets/LaunchImage.launchimage/Default-Landscape@3x.png 203 kB [emitted] App_Resources/iOS/navigation/menu@2x.png 297 bytes [emitted] App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png 207 kB [emitted] package.json 155 bytes [emitted] starter.js 39 bytes [emitted] [79] ./package.json 132 bytes {7} [optional] [built] [124] ../$$_lazy_route_resource lazy 160 bytes {7} [built] [163] ./main.ts 369 bytes {5} [built] [271] ./app.module.ts 929 bytes {5} [built] [274] ./app-routing.module.ts 1.04 kB {5} [built] [275] ./app.component.ts 446 bytes {5} [built] [276] ./app.component.html 62 bytes {5} [built] [277] ./vendor.ts 634 bytes {7} [built] [278] . nonrecursive ^\.\/app\.(css|scss|less|sass)$ 175 bytes {7} [built] [279] ./app.scss 20.5 kB {7} [optional] [built] [281] ./vendor-platform.ts 406 bytes {7} [built] [295] ../platforms/android/app/snapshot-build/tns-java-classes.js 59 bytes {6} [built] [296] ./home/home.module.ts 930 bytes {2} [built] [297] ./browse/browse.module.ts 960 bytes {4} [built] [298] ./search/search.module.ts 960 bytes {1} [built] + 313 hidden modules Project successfully prepared (Android) Executing after-prepare hook from /home/fabri/Projects/testSideKick/hooks/after-prepare/nativescript-dev-sass.js All SASS source files removed from app package Executing after-prepare hook from /home/fabri/Projects/testSideKick/hooks/after-prepare/nativescript-dev-webpack.js find: La directory corrente è inclusa nella variabile di ambiente PATH, il cui utilizzo è insicuro in combinazione con l'azione -execdir di find. Rimuovere la directory corrente da $PATH (cioè rimuovere ".", doppi punti o i due punti prima o dopo) Building project... Gradle build... + applying user-defined configuration from /home/fabri/Projects/testSideKick/app/App_Resources/Android/app.gradle Applying settings from /home/fabri/Projects/testSideKick/app/App_Resources/Android/settings.json + add include.gradle from /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/include.gradle + applying plugin configuration from /home/fabri/Projects/testSideKick/platforms/android/app/build/configurations/nativescript-pro-ui/include.gradle + adding nativescript runtime package dependency: nativescript-optimized + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Primitives-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/List-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Common-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Gauges-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Chart-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Input-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Feedback-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/nativescript-pro-ui/platforms/android/Data-2017.1.1221-dev-release.aar + adding aar plugin dependency: /home/fabri/Projects/testSideKick/node_modules/tns-core-modules-widgets/platforms/android/widgets-release.aar false Running full build Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. Project successfully built. Installing... Successfully installed on device with identifier '33003bbb15ad82bb'. Successfully transferred all files. Refreshing application... Successfully synced application org.nativescript.testSideKick on device 33003bbb15ad82bb. ActivityManager: Start proc 19915:org.nativescript.testSideKick/u10a479 for activity org.nativescript.testSideKick/com.tns.NativeScriptActivity System.err: java.lang.RuntimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: System.err: System.err: Error calling module function System.err: System.err: ReferenceError: webpackJsonp is not defined System.err: File: "file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js, line: 1, column: 60 System.err: System.err: StackTrace: System.err: Frame: function:'', file:'file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js', line: 1, column: 61 System.err: Frame: function:'require', file:'', line: 1, column: 266 System.err: System.err: System.err: ReferenceError: webpackJsonp is not defined System.err: File: ", line: 1, column: 265 System.err: System.err: StackTrace: System.err: Frame: function:'', file:'file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js', line: 1, column: 61 System.err: Frame: function:'require', file:'', line: 1, column: 266 System.err: System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5977) System.err: at android.app.ActivityThread.-wrap3(ActivityThread.java) System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1707) System.err: at android.os.Handler.dispatchMessage(Handler.java:102) System.err: at android.os.Looper.loop(Looper.java:154) System.err: at android.app.ActivityThread.main(ActivityThread.java:6780) System.err: at java.lang.reflect.Method.invoke(Native Method) System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496) System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386) System.err: Caused by: com.tns.NativeScriptException: System.err: System.err: Error calling module function System.err: System.err: ReferenceError: webpackJsonp is not defined System.err: File: "file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js, line: 1, column: 60 System.err: System.err: StackTrace: System.err: Frame: function:'', file:'file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js', line: 1, column: 61 System.err: Frame: function:'require', file:'', line: 1, column: 266 System.err: System.err: System.err: ReferenceError: webpackJsonp is not defined System.err: File: ", line: 1, column: 265 System.err: System.err: StackTrace: System.err: Frame: function:'', file:'file:///data/user/10/org.nativescript.testSideKick/files/app/tns-java-classes.js', line: 1, column: 61 System.err: Frame: function:'require', file:'', line: 1, column: 266 System.err: System.err: at com.tns.Runtime.runModule(Native Method) System.err: at com.tns.Runtime.runModule(Runtime.java:530) System.err: at com.tns.RuntimeHelper.initRuntime(RuntimeHelper.java:214) System.err: at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:17) System.err: at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1032) System.err: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5974) System.err: ... 8 more ActivityManager: Process org.nativescript.testSideKick (pid 19915) has died(104,736) ActivityManager: cleanUpApplicationRecord -- 19915