为了账号安全,请及时绑定邮箱和手机立即绑定

请问这是什么错误?跳转到main2后显示空白,但是在预览中看到了fragment

04-09 15:35:01.260 29830-29830/com.ash.fragment E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.ash.fragment.MainActivity2.access$super

04-09 15:35:01.260 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to resolve check-cast 227 (Landroid/os/PersistableBundle;) in Lcom/ash/fragment/MainActivity2;

04-09 15:35:01.260 29830-29830/com.ash.fragment D/dalvikvm: VFY: replacing opcode 0x1f at 0x1192

04-09 15:35:01.260 29830-29830/com.ash.fragment I/dalvikvm: Could not find method android.content.ContextWrapper.getObbDirs, referenced from method com.ash.fragment.MainActivity2.access$super

04-09 15:35:01.260 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to resolve virtual method 641: Landroid/content/ContextWrapper;.getObbDirs ()[Ljava/io/File;

04-09 15:35:01.260 29830-29830/com.ash.fragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x11b9

04-09 15:35:01.260 29830-29830/com.ash.fragment I/dalvikvm: Could not find method android.app.Activity.startPostponedEnterTransition, referenced from method com.ash.fragment.MainActivity2.access$super

04-09 15:35:01.260 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/app/Activity;.startPostponedEnterTransition ()V

04-09 15:35:01.260 29830-29830/com.ash.fragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x11bf

04-09 15:35:01.260 29830-29830/com.ash.fragment I/dalvikvm: Could not find method android.content.ContextWrapper.getExternalCacheDirs, referenced from method com.ash.fragment.MainActivity2.access$super

04-09 15:35:01.260 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to resolve virtual method 632: Landroid/content/ContextWrapper;.getExternalCacheDirs ()[Ljava/io/File;

04-09 15:35:01.260 29830-29830/com.ash.fragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x122b

04-09 15:35:01.260 29830-29830/com.ash.fragment I/dalvikvm: Could not find method android.app.Activity.onEnterAnimationComplete, referenced from method com.ash.fragment.MainActivity2.access$super

04-09 15:35:01.260 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to resolve virtual method 149: Landroid/app/Activity;.onEnterAnimationComplete ()V

04-09 15:35:01.260 29830-29830/com.ash.fragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x126e

04-09 15:35:01.270 29830-29830/com.ash.fragment W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/os/PersistableBundle;)


正在回答

3 回答

我今天也找到了

0 回复 有任何疑惑可以回复我~
#1

ASH975 提问者

恩恩,
2016-05-23 回复 有任何疑惑可以回复我~

我也是空白  你找到问题了吗?

0 回复 有任何疑惑可以回复我~
#1

ASH975 提问者

onCreate那个方法重新错了,看清楚
2016-05-22 回复 有任何疑惑可以回复我~

是不是因为没有给fragment添加name或者tag?

0 回复 有任何疑惑可以回复我~
#1

ASH975 提问者

加了的.. 就第一种方式打开空白,其他的加进来都有..
2016-04-10 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消
Android攻城狮的第二门课(第1季)
  • 参与学习       111172    人
  • 解答问题       1457    个

本课程由浅入深地带您学会Android的常用控件的开发和使用

进入课程

请问这是什么错误?跳转到main2后显示空白,但是在预览中看到了fragment

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信