VFY unable to resolve virtual method Landroid/support/v4/

分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.csdn.net/jiangjunshow

                       

使用24的build-tools和sdk编译的带有fragment的app在4.2.2上运行出现如此警告,开始还以为我设置有问题,最后新建立HelloFragment程序也会报此问题,应该是sdk或者build-tools出现了问题。目前还只是警告,先这样吧。

08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x09e708-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.onProvideReferrer, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 166: Landroid/app/Activity;.onProvideReferrer ()Landroid/net/Uri;08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x09fc08-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V from Lcom/example/hellofragment/MainActivity;)08-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.doReallyStop, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 4334: Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a2908-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 470: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a7308-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.showLockTaskEscapeMessage, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 231: Landroid/app/Activity;.showLockTaskEscapeMessage ()V08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a8308-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.getContentTransitionManager, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 78: Landroid/app/Activity;.getContentTransitionManager ()Landroid/transition/TransitionManager;08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a8908-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.content.ContextWrapper.isDeviceProtectedStorage, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 567: Landroid/content/ContextWrapper;.isDeviceProtectedStorage ()Z08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a9f08-02 05:34:36.787 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.requestShowKeyboardShortcuts, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.787 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 194: Landroid/app/Activity;.requestShowKeyboardShortcuts ()V08-02 05:34:36.787 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0aaa08-02 05:34:36.787 2862-2862/com.example.hellofragment E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve check-cast 52 (Landroid/app/SharedElementCallback;) in Lcom/example/hellofragment/MainActivity;08-02 05:34:36.797 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x1f at 0x0b5608-02 05:34:36.797 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.getReferrer, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 92: Landroid/app/Activity;.getReferrer ()Landroid/net/Uri;08-02 05:34:36.797 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0bca08-02 05:34:36.797 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.content.ContextWrapper.getDataDir, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 542: Landroid/content/ContextWrapper;.getDataDir ()Ljava/io/File;08-02 05:34:36.797 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0bda08-02 05:34:36.797 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.content.ContextWrapper.getSystemServiceName, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 561: Landroid/content/ContextWrapper;.getSystemServiceName (Ljava/lang/Class;)Ljava/lang/String;08-02 05:34:36.797 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0c4d08-02 05:34:36.797 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.isVoiceInteractionRoot, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 119: Landroid/app/Activity;.isVoiceInteractionRoot ()Z08-02 05:34:36.797 2862-2862/com.example.hellofragment D/dalvikvm: VFY: replacing opcode 0x6f at 0x0c7508-02 05:34:36.797 2862-2862/com.example.hellofragment I/dalvikvm: Could not find method android.app.Activity.isLocalVoiceInteractionSupported, referenced from method com.example.hellofragment.MainActivity.access$super08-02 05:34:36.797 2862-2862/com.example.hellofragment W/dalvikvm: VFY: unable to resolve virtual method 116: Landroid/app/Activity;.isLocalVoiceInteractionSupported ()Z08-
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值