白云LDC 2022-12-18 22:29 采纳率: 40%
浏览 63

点击页面跳转后,出现报错

问题遇到的现象和发生背景

点击页面跳转时报错:

遇到的现象和发生背景,请写出第一个错误信息
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@a3f64eb
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@32724a
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@c35dd7d
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@38232cb
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@c52f0a4
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@3525fa7
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@d3de610
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@50b2dac
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@b3d7901
W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@88bfa57

用代码块功能插入代码,请勿粘贴截图。 不用代码块回答率下降 50%
 imageButton.setOnClickListener(view -> {
            Intent intent = new Intent(this, MainActivity.class);
            startActivity(intent);
        });

运行结果及详细报错内容

W/ActivityThread: handleWindowVisibility: no activity for token android.os.BinderProxy@bfcf8f7

我的解答思路和尝试过的方法,不写自己思路的,回答率下降 60%

新建一个工程又不报错。如果粘我的代码,又会报错。

我想要达到的结果,如果你需要快速回答,请尝试 “付费悬赏”
  • 写回答

2条回答 默认 最新

  • love. 2022-12-19 14:38
    关注

    你的这个活动在注册清单里绑定注册了吗?

    评论

报告相同问题?

问题事件

  • 创建了问题 12月18日

悬赏问题

  • ¥15 from seleniumwire import webdriver 在抓取http://链接的时候会自动转https://这个怎么解决
  • ¥15 BAT根据上两级文件夹重新命名文件要求BAT
  • ¥30 不会,学习,有偿解答
  • ¥15 SQL查询语句报错(检查)
  • ¥15 此表中公式应该怎么写
  • ¥15 求HI-TECH PICC 9.50 PL3安装包
  • ¥15 下载ctorch报错,求解
  • ¥15 如何入门学习c语言,单片机
  • ¥15 idea 编辑语言的选择
  • ¥15 Windows下部署Asmjit