I have written an app which can run normally in local preview. However, I tried to deploy it into my Android Phone, the app crashed and closed. Any suggestion to solve?
I can’t even get any hints from the message log…
I am using the latest version 3309 and my phone is HTC M8.
If you do not want to post your project files publicly, you can use this link to upload it directly to us in private. It will only be shared with our internal people in order to help debug your issue:
Anders Lassen: I tried you method to read the log . cd .build cd Android-Debug log
but it showed -bash: log: command not found…
Bent Stamnes: HI! I have uploaded a project called JP01 which is a multiple choices study project. Preview worked but seems something wrong when running in mobile.
HI! I used log to get the crash messages. Could you give me some help from this?
W/art (16132): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[14,tid=16154,Native,Thread*=0xb97449d8,peer=0x12cfb080,"Thread-195252"]
E/AndroidRuntime(16132): FATAL EXCEPTION: main
E/AndroidRuntime(16132): Process: com.MainView, PID: 16132
E/AndroidRuntime(16132): java.lang.RuntimeException: Fuse.Scripting.ScriptException:
E/AndroidRuntime(16132): at Fuse.Scripting.Duktape.Context.CheckError(int)
E/AndroidRuntime(16132): at Fuse.Scripting.Duktape.Context.Evaluate(string,string)
E/AndroidRuntime(16132): at Fuse.Scripting.Context.Evaluate_1(Fuse.Scripting.IModule,string)
E/AndroidRuntime(16132): at Fuse.Reactive.JavaScript.EvaluateDataContext()
E/AndroidRuntime(16132): at Fuse.Reactive.ThreadWorker.Run()
E/AndroidRuntime(16132): at Fuse.Reactive.ThreadWorker.RunWithExceptionHandler()
E/AndroidRuntime(16132): at com.MainView.ActivityNativeEntryPoints.cppTick(Native Method)
E/AndroidRuntime(16132): at com.MainView.MainLoop$FrameTicker.doFrame(MainLoop.java:86)
E/AndroidRuntime(16132): at android.view.Choreographer$CallbackRecord.run(Choreographer.java:790)
E/AndroidRuntime(16132): at android.view.Choreographer.doCallbacks(Choreographer.java:596)
E/AndroidRuntime(16132): at android.view.Choreographer.doFrame(Choreographer.java:556)
E/AndroidRuntime(16132): at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:778)
E/AndroidRuntime(16132): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime(16132): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime(16132): at android.os.Looper.loop(Looper.java:155)
E/AndroidRuntime(16132): at android.app.ActivityThread.main(ActivityThread.java:5696)
E/AndroidRuntime(16132): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16132): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(16132): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1028)
E/AndroidRuntime(16132): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:823)