我正在开发一个小应用程序,该应用程序已经过测试并且在此过程中运行良好。当我添加新代码让应用程序将信息发送到我的 Firebase 实时数据库时,它不会启动我的应用程序。它会闪烁 MainActivity 一秒钟,然后变黑。
当我删除我输入的代码时,它enter code here继续做同样的事情。尽管相同的代码(在删除了我认为不好的内容之后)以前可以使用。我翻遍了论坛,在活动完成之前我没有找到任何引用对话框的代码
,,,
/com.fromfire.fantastysurvivor W/ActivityThread: handleWindowVisibility:
no activity for token android.os.BinderProxy@356e9f5
2019-05-08 07:46:47.891 3306-3306/com.fromfire.fantastysurvivor V/FA:
onActivityCreated
2019-05-08 07:46:47.998 3306-3306/com.fromfire.fantastysurvivor
W/ActivityThread: handleWindowVisibility: no activity for token
android.os.BinderProxy@c10e219
2019-05-08 07:46:48.014 3306-3306/com.fromfire.fantastysurvivor V/FA:
onActivityCreated
2019-05-08 07:46:48.108 3306-3306/com.fromfire.fantastysurvivor
W/ActivityThread: handleWindowVisibility: no activity for token
android.os.BinderProxy@2818389
2019-05-08 07:46:48.116 3306-3306/com.fromfire.fantastysurvivor V/FA:
onActivityCreated
2019-05-08 07:46:48.238 3306-3306/com.fromfire.fantastysurvivor
W/ActivityThread: handleWindowVisibility: no activity for token
android.os.BinderProxy@b4e046d
2019-05-08 07:46:48.254 3306-3306/com.fromfire.fantastysurvivor V/FA:
onActivityCreated
2019-05-08 07:46:48.359 3306-3306/com.fromfire.fantastysurvivor
W/ActivityThread: handleWindowVisibility: no activity for token
android.os.BinderProxy@685e2dd
2019-05-08 …Run Code Online (Sandbox Code Playgroud)