App Crash in android device

android

#1

I crashed when running the helloworld project on an android device. But the same operation of my simulator, android phone is normal operation, I am sure the same operation. I do not use the standard Google official sdk, but the custom, the device that crashed the program is also a customized system, I am sure this is the case. what should I do. . .

Successfully synced application org.nativescript.HelloWorld on device 192.168.53.54:5555.
ActivityManager: Start proc 1735:org.nativescript.HelloWorld/u0a40 for activity org.nativescript.HelloWorld/com.tns.NativeScriptActivity
System.err: java.lang.RuntimeException: Unable to start activity ComponentInfo{org.nativescript.HelloWorld/com.tns.NativeScriptActivity}: com.tns.NativeScriptException:
System.err: Calling js method onStart failed
System.err: TypeError: Cannot set property ‘transitionType’ of null
System.err: File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js, line: 501, column: 32
System.err: StackTrace:
System.err: Frame: function:‘setupExitAndPopEnterAnimation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 501, column: 33
System.err: Frame: function:‘setupAllAnimation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 512, column: 5
System.err: Frame: function:’_setAndroidFragmentTransitions’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 102, column: 9
System.err: Frame: function:‘Frame._navigateCore’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 174, column: 32
System.err: Frame: function:‘FrameBase.performNavigation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 330, column: 14
System.err: Frame: function:‘FrameBase._processNextNavigationEntry’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 322, column: 22
System.err: Frame: function:‘Frame._processNextNavigationEntry’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 86, column: 58
System.err: Frame: function:‘FrameBase.onLoaded’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 137, column: 14
System.err: Frame: function:‘ActivityCallbacksImplementation.onStart’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 640, column: 22
System.err: Frame: function:‘NativeScriptActivity.onStart’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/activity.js’, line: 30, column: 25
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2489)
System.err: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2549)
System.err: at android.app.ActivityThread.-wrap11(ActivityThread.java)
System.err: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1366)
System.err: at android.os.Handler.dispatchMessage(Handler.java:102)
System.err: at android.os.Looper.loop(Looper.java:148)
System.err: at android.app.ActivityThread.main(ActivityThread.java:5587)
System.err: at java.lang.reflect.Method.invoke(Native Method)
System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:730)
System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:620)
System.err: Caused by: com.tns.NativeScriptException:
System.err: Calling js method onStart failed
System.err: TypeError: Cannot set property ‘transitionType’ of null
System.err: File: "file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js, line: 501, column: 32
System.err: StackTrace:
System.err: Frame: function:‘setupExitAndPopEnterAnimation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 501, column: 33
System.err: Frame: function:‘setupAllAnimation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 512, column: 5
System.err: Frame: function:’_setAndroidFragmentTransitions’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/fragment.transitions.js’, line: 102, column: 9
System.err: Frame: function:‘Frame._navigateCore’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 174, column: 32
System.err: Frame: function:‘FrameBase.performNavigation’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 330, column: 14
System.err: Frame: function:‘FrameBase._processNextNavigationEntry’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 322, column: 22
System.err: Frame: function:‘Frame._processNextNavigationEntry’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 86, column: 58
System.err: Frame: function:‘FrameBase.onLoaded’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame-common.js’, line: 137, column: 14
System.err: Frame: function:‘ActivityCallbacksImplementation.onStart’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/frame.js’, line: 640, column: 22
System.err: Frame: function:‘NativeScriptActivity.onStart’, file:‘file:///data/data/org.nativescript.HelloWorld/files/app/tns_modules/tns-core-modules/ui/frame/activity.js’, line: 30, column: 25
System.err: at com.tns.Runtime.callJSMethodNative(Native Method)
System.err: at com.tns.Runtime.dispatchCallJSMethodNative(Runtime.java:1088)
System.err: at com.tns.Runtime.callJSMethodImpl(Runtime.java:970)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:957)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:941)
System.err: at com.tns.Runtime.callJSMethod(Runtime.java:933)
System.err: at com.tns.NativeScriptActivity.onStart(NativeScriptActivity.java:44)
System.err: at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1237)
System.err: at android.app.Activity.performStart(Activity.java:6478)
System.err: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2442)
System.err: … 9 more
ActivityManager: Process org.nativescript.HelloWorld (pid 1735) has died


#2

I am also facing the same issue. I am using Genymotion emulator and the devices I checked with are Samsung and Google ones.

LIu: Were you able to find a resolution. Please share.