Appcelerator应用无法重新启动(Android) [英] Appcelerator app doesn't restart (Android)
本文介绍了Appcelerator应用无法重新启动(Android)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经创建了一个应用,一切正常.
I've created an app, everything works fine.
但是,当我按回关闭应用程序时,再次打开该应用程序,它不会通过启动屏幕.
However, when I close the app bij pressing back, and open the app again, it doesn't pass the splash-screen.
如果我通过Android正在运行的应用程序屏幕完全关闭了该应用程序,则它会再次正常打开.
If I completely close the app through the Android running apps screen, it opens like normal again.
以前有人遇到过这个问题吗?
Anyone had this problem before?
提前谢谢!
推荐答案
我通过在tiapp.xml中的<ti:app>
标记的根目录中添加此属性来解决此问题:
I solved it by adding this property in tiapp.xml in the root of the <ti:app>
tag:
<property name="ti.android.root.reappears.restart" type="bool">true</property>
并删除:
<property name="run-on-main-thread" type="bool">true</property>
这篇关于Appcelerator应用无法重新启动(Android)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文