Appcelerator 应用程序不会重新启动(Android) [英] Appcelerator app doesn't restart (Android)

查看:32
本文介绍了Appcelerator 应用程序不会重新启动(Android)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个应用,一切正常.

I've created an app, everything works fine.

但是,当我按回关闭应用程序 bij 并再次打开应用程序时,它没有通过启动画面.

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆