分享一下我老师大神的人工智能教程。零基础!通俗易懂!风趣幽默!还带黄段子!希望你也加入到我们人工智能的队伍中来!https://blog.youkuaiyun.com/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-