- iOS/Objective-C 元类和类别
- objective-c - -1001 错误,当 NSURLSession 通过 httpproxy 和/etc/hosts
- java - 使用网络类获取 url 地址
- ios - 推送通知中不播放声音
我不明白由于哪些更改,我的应用程序显示了许多 dalvikVM 警告消息。即使该应用程序似乎运行良好,也可能存在一些潜在风险。 我已经回答了几个相关问题,但都没有帮助。我没有再修剪监视器输出,因为我不确定什么有用或无用。
I/SELinux: Function: selinux_android_load_priority [0], There is no sepolicy file.
I/SELinux: Function: selinux_android_load_priority [1], There is no sepolicy version file.
I/SELinux: Function: selinux_android_load_priority , priority version is VE=GOOGLE_POLICY
I/SELinux: selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
D/dalvikvm: Late-enabling CheckJNI
I/InstantRun: BootstrapApplication created. Android package is com.example.akash.chatapplication, real application class is null.
V/InstantRun: Cannot find external resources, not patching them in
I/InstantRun: Resource override is null
V/InstantRun: Cannot find dex classes, not patching them in
I/dalvikvm: Could not find method android.content.pm.PackageManager.getPackageInstaller, referenced from method com.google.android.gms.common.zze.zzi
W/dalvikvm: VFY: unable to resolve virtual method 957: Landroid/content/pm/PackageManager;.getPackageInstaller ()Landroid/content/pm/PackageInstaller;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x000b
I/GMPM: App measurement is starting up, version: 8487
I/GMPM: To enable debug logging run: adb shell setprop log.tag.GMPM VERBOSE
I/InstantRun: Starting server socket listening for package com.example.akash.chatapplication on android.net.LocalSocketAddress@4224fb98
I/InstantRun: Started server for package com.example.akash.chatapplication
I/dalvikvm: Could not find method android.content.Context.getSystemService, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 692: Landroid/content/Context;.getSystemService (Ljava/lang/Class;)Ljava/lang/Object;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x004b
I/dalvikvm: Could not find method android.app.Activity.stopLockTask, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 299: Landroid/app/Activity;.stopLockTask ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x00b9
E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 271 (Landroid/os/PersistableBundle;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x00f1
I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 673: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0101
I/dalvikvm: Could not find method android.app.Activity.onVisibleBehindCanceled, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 219: Landroid/app/Activity;.onVisibleBehindCanceled ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0111
I/dalvikvm: Could not find method android.app.Activity.onWindowStartingActionMode, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 223: Landroid/app/Activity;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0137
E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 271 (Landroid/os/PersistableBundle;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x019a
E/dalvikvm: Could not find class 'android.media.session.MediaController', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 225 (Landroid/media/session/MediaController;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x01b2
E/dalvikvm: Could not find class 'android.widget.Toolbar', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 2425 (Landroid/widget/Toolbar;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x01bc
I/dalvikvm: Could not find method android.app.Activity.releaseInstance, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 230: Landroid/app/Activity;.releaseInstance ()Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x02dd
I/dalvikvm: Could not find method android.app.Activity.onActivityReenter, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 146: Landroid/app/Activity;.onActivityReenter (ILandroid/content/Intent;)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x02f4
I/dalvikvm: Could not find method android.content.ContextWrapper.getCodeCacheDir, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 748: Landroid/content/ContextWrapper;.getCodeCacheDir ()Ljava/io/File;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0349
I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.dispatchFragmentsOnCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View; from Lcom/example/akash/chatapplication/IPSetupActivity;)
I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.dispatchFragmentsOnCreateView, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 4642: Landroid/support/v4/app/FragmentActivity;.dispatchFragmentsOnCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0432
I/dalvikvm: Could not find method android.app.Activity.getVoiceInteractor, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 125: Landroid/app/Activity;.getVoiceInteractor ()Landroid/app/VoiceInteractor;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0490
E/dalvikvm: Could not find class 'android.app.ActivityManager$TaskDescription', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 28 (Landroid/app/ActivityManager$TaskDescription;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x055b
I/dalvikvm: Could not find method android.app.Activity.startActionMode, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 274: Landroid/app/Activity;.startActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0596
I/dalvikvm: Could not find method android.app.Activity.showAssist, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 269: Landroid/app/Activity;.showAssist (Landroid/os/Bundle;)Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x05d8
I/dalvikvm: Could not find method android.app.Activity.postponeEnterTransition, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 227: Landroid/app/Activity;.postponeEnterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x05e3
I/dalvikvm: Could not find method android.content.ContextWrapper.getNoBackupFilesDir, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 760: Landroid/content/ContextWrapper;.getNoBackupFilesDir ()Ljava/io/File;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0672
I/dalvikvm: Could not find method android.app.Activity.requestPermissions, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 233: Landroid/app/Activity;.requestPermissions ([Ljava/lang/String;I)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0787
E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 64 (Landroid/app/SharedElementCallback;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x07a1
E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 271 (Landroid/os/PersistableBundle;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x07e8
W/dalvikvm: DexOpt: resolve class illegal access: Lcom/example/akash/chatapplication/IPSetupActivity; -> Landroid/support/v4/app/BaseFragmentActivityDonut;
I/dalvikvm: Could not find method android.support.v4.app.BaseFragmentActivityDonut.onCreateView, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 4418: Landroid/support/v4/app/BaseFragmentActivityDonut;.onCreateView (Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x082c
I/dalvikvm: Could not find method android.app.Activity.setContentTransitionManager, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 238: Landroid/app/Activity;.setContentTransitionManager (Landroid/transition/TransitionManager;)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0940
I/dalvikvm: Could not find method android.app.Activity.onProvideReferrer, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 199: Landroid/app/Activity;.onProvideReferrer ()Landroid/net/Uri;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x097e
I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V from Lcom/example/akash/chatapplication/IPSetupActivity;)
I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.doReallyStop, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 4644: Landroid/support/v4/app/FragmentActivity;.doReallyStop (Z)V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x09ab
I/dalvikvm: Could not find method android.content.Context.getDrawable, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 676: Landroid/content/Context;.getDrawable (I)Landroid/graphics/drawable/Drawable;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x09f5
I/dalvikvm: Could not find method android.app.Activity.showLockTaskEscapeMessage, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 272: Landroid/app/Activity;.showLockTaskEscapeMessage ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a05
I/dalvikvm: Could not find method android.app.Activity.getContentTransitionManager, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 100: Landroid/app/Activity;.getContentTransitionManager ()Landroid/transition/TransitionManager;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0a0b
E/dalvikvm: Could not find class 'android.app.SharedElementCallback', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 64 (Landroid/app/SharedElementCallback;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x0ac7
I/dalvikvm: Could not find method android.app.Activity.getReferrer, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 115: Landroid/app/Activity;.getReferrer ()Landroid/net/Uri;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0b3b
I/dalvikvm: Could not find method android.content.ContextWrapper.getSystemServiceName, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 770: Landroid/content/ContextWrapper;.getSystemServiceName (Ljava/lang/Class;)Ljava/lang/String;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0bb8
I/dalvikvm: Could not find method android.app.Activity.isVoiceInteractionRoot, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 138: Landroid/app/Activity;.isVoiceInteractionRoot ()Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0be0
I/dalvikvm: Could not find method android.content.ContextWrapper.getExternalMediaDirs, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 756: Landroid/content/ContextWrapper;.getExternalMediaDirs ()[Ljava/io/File;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0c68
I/dalvikvm: Could not find method android.app.Activity.getMediaController, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 108: Landroid/app/Activity;.getMediaController ()Landroid/media/session/MediaController;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0cac
I/dalvikvm: Could not find method android.app.Activity.getSearchEvent, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 118: Landroid/app/Activity;.getSearchEvent ()Landroid/view/SearchEvent;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0d2b
I/dalvikvm: DexOpt: illegal method access (call Landroid/support/v4/app/FragmentActivity;.onReallyStop ()V from Lcom/example/akash/chatapplication/IPSetupActivity;)
I/dalvikvm: Could not find method android.support.v4.app.FragmentActivity.onReallyStop, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 4680: Landroid/support/v4/app/FragmentActivity;.onReallyStop ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0d6b
I/dalvikvm: Could not find method android.app.Activity.isVoiceInteraction, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 137: Landroid/app/Activity;.isVoiceInteraction ()Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0ddb
I/dalvikvm: Could not find method android.app.Activity.requestVisibleBehind, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 234: Landroid/app/Activity;.requestVisibleBehind (Z)Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e40
I/dalvikvm: Could not find method android.app.Activity.shouldShowRequestPermissionRationale, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 267: Landroid/app/Activity;.shouldShowRequestPermissionRationale (Ljava/lang/String;)Z
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e55
I/dalvikvm: Could not find method android.app.Activity.finishAndRemoveTask, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 90: Landroid/app/Activity;.finishAndRemoveTask ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0e92
I/dalvikvm: Could not find method android.content.Context.getColor, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 672: Landroid/content/Context;.getColor (I)I
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0ee9
E/dalvikvm: Could not find class 'android.app.assist.AssistContent', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 68 (Landroid/app/assist/AssistContent;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x0f5b
I/dalvikvm: Could not find method android.app.Activity.finishAfterTransition, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 89: Landroid/app/Activity;.finishAfterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0f7f
I/dalvikvm: Could not find method android.app.Activity.getContentScene, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 99: Landroid/app/Activity;.getContentScene ()Landroid/transition/Scene;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x0f85
E/dalvikvm: Could not find class 'android.view.SearchEvent', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 2297 (Landroid/view/SearchEvent;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x10d2
W/dalvikvm: DexOpt: resolve class illegal access: Lcom/example/akash/chatapplication/IPSetupActivity; -> Landroid/support/v4/app/BaseFragmentActivityHoneycomb;
I/dalvikvm: Could not find method android.support.v4.app.BaseFragmentActivityHoneycomb.onCreateView, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 4425: Landroid/support/v4/app/BaseFragmentActivityHoneycomb;.onCreateView (Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;
D/dalvikvm: VFY: replacing opcode 0x6f at 0x10fd
I/dalvikvm: Could not find method android.app.Activity.startLockTask, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 293: Landroid/app/Activity;.startLockTask ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x11b2
I/dalvikvm: Could not find method android.content.ContextWrapper.checkSelfPermission, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 724: Landroid/content/ContextWrapper;.checkSelfPermission (Ljava/lang/String;)I
D/dalvikvm: VFY: replacing opcode 0x6f at 0x1225
E/dalvikvm: Could not find class 'android.os.PersistableBundle', referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve check-cast 271 (Landroid/os/PersistableBundle;) in Lcom/example/akash/chatapplication/IPSetupActivity;
D/dalvikvm: VFY: replacing opcode 0x1f at 0x1329
I/dalvikvm: Could not find method android.app.Activity.startPostponedEnterTransition, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 297: Landroid/app/Activity;.startPostponedEnterTransition ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x1356
I/dalvikvm: Could not find method android.app.Activity.onEnterAnimationComplete, referenced from method com.example.akash.chatapplication.IPSetupActivity.access$super
W/dalvikvm: VFY: unable to resolve virtual method 172: Landroid/app/Activity;.onEnterAnimationComplete ()V
D/dalvikvm: VFY: replacing opcode 0x6f at 0x140b
I/dalvikvm: Could not find method android.view.Window$Callback.onProvideKeyboardShortcuts, referenced from method android.support.v7.view.WindowCallbackWrapper.onProvideKeyboardShortcuts
W/dalvikvm: VFY: unable to resolve interface method 20203: Landroid/view/Window$Callback;.onProvideKeyboardShortcuts (Ljava/util/List;Landroid/view/Menu;)V
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
W/dalvikvm: VFY: unable to find class referenced in signature (Landroid/view/SearchEvent;)
I/dalvikvm: Could not find method android.view.Window$Callback.onSearchRequested, referenced from method android.support.v7.view.WindowCallbackWrapper.onSearchRequested
W/dalvikvm: VFY: unable to resolve interface method 20205: Landroid/view/Window$Callback;.onSearchRequested (Landroid/view/SearchEvent;)Z
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm: Could not find method android.view.Window$Callback.onWindowStartingActionMode, referenced from method android.support.v7.view.WindowCallbackWrapper.onWindowStartingActionMode
W/dalvikvm: VFY: unable to resolve interface method 20209: Landroid/view/Window$Callback;.onWindowStartingActionMode (Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;
D/dalvikvm: VFY: replacing opcode 0x72 at 0x0002
I/dalvikvm: Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.widget.TintTypedArray.getChangingConfigurations
W/dalvikvm: VFY: unable to resolve virtual method 1021: Landroid/content/res/TypedArray;.getChangingConfigurations ()I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0002
I/dalvikvm: Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.widget.TintTypedArray.getType
W/dalvikvm: VFY: unable to resolve virtual method 1043: Landroid/content/res/TypedArray;.getType (I)I
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0008
I/dalvikvm: Could not find method android.content.Context.getColorStateList, referenced from method android.support.v7.widget.ColorStateListUtils.getColorStateList
W/dalvikvm: VFY: unable to resolve virtual method 673: Landroid/content/Context;.getColorStateList (I)Landroid/content/res/ColorStateList;
D/dalvikvm: VFY: replacing opcode 0x6e at 0x0006
D/libEGL: loaded /system/lib/egl/libEGL_mali.so
D/libEGL: loaded /system/lib/egl/libGLESv1_CM_mali.so
D/libEGL: loaded /system/lib/egl/libGLESv2_mali.so
[ 04-26 04:39:40.178 30063:30063 E/ ]
Device driver API match
Device driver API version: 23
User space API version: 23
[ 04-26 04:39:40.178 30063:30063 E/ ]
mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Fri Mar 21 13:52:50 KST 2014
D/OpenGLRenderer: Enabling debug mode 0
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
W/IInputConnectionWrapper: getCursorCapsMode on inactive InputConnection
W/IInputConnectionWrapper: getSelectedText on inactive InputConnection
W/IInputConnectionWrapper: getTextBeforeCursor on inactive InputConnection
W/IInputConnectionWrapper: getTextAfterCursor on inactive InputConnection
我的应用似乎有很多问题,我期待花时间解决这些问题。由于这些问题似乎与依赖关系有关,这里是可能需要研究的代码:
模块应用的build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.2'
defaultConfig {
applicationId "com.example.akash.chatapplication"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile files('libs/com.github.ozodrukh/CircularReveal/1.1.1/jars/classes.jar')
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.android.support:design:23.3.0'
compile 'com.github.nkzawa:socket.io-client:0.3.0'
compile 'com.google.android.gms:play-services-gcm:8.4.0'
}
apply plugin: 'com.google.gms.google-services'
这是我项目的 build.gradle:
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0-alpha5'
classpath 'com.google.gms:google-services:2.0.0'
}
}
allprojects {
repositories {
jcenter()
}
}
最后 settings.gradle 有这么一小行:包括':app', ':classes'
最佳答案
在 Module 应用程序的 build.gradle 中:
在顶部添加这一行
应用插件:'com.google.gms.google-services'
关于android - Dalvik VM 找不到多种方法,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36852948/
我想了解 Ruby 方法 methods() 是如何工作的。 我尝试使用“ruby 方法”在 Google 上搜索,但这不是我需要的。 我也看过 ruby-doc.org,但我没有找到这种方法。
Test 方法 对指定的字符串执行一个正则表达式搜索,并返回一个 Boolean 值指示是否找到匹配的模式。 object.Test(string) 参数 object 必选项。总是一个
Replace 方法 替换在正则表达式查找中找到的文本。 object.Replace(string1, string2) 参数 object 必选项。总是一个 RegExp 对象的名称。
Raise 方法 生成运行时错误 object.Raise(number, source, description, helpfile, helpcontext) 参数 object 应为
Execute 方法 对指定的字符串执行正则表达式搜索。 object.Execute(string) 参数 object 必选项。总是一个 RegExp 对象的名称。 string
Clear 方法 清除 Err 对象的所有属性设置。 object.Clear object 应为 Err 对象的名称。 说明 在错误处理后,使用 Clear 显式地清除 Err 对象。此
CopyFile 方法 将一个或多个文件从某位置复制到另一位置。 object.CopyFile source, destination[, overwrite] 参数 object 必选
Copy 方法 将指定的文件或文件夹从某位置复制到另一位置。 object.Copy destination[, overwrite] 参数 object 必选项。应为 File 或 F
Close 方法 关闭打开的 TextStream 文件。 object.Close object 应为 TextStream 对象的名称。 说明 下面例子举例说明如何使用 Close 方
BuildPath 方法 向现有路径后添加名称。 object.BuildPath(path, name) 参数 object 必选项。应为 FileSystemObject 对象的名称
GetFolder 方法 返回与指定的路径中某文件夹相应的 Folder 对象。 object.GetFolder(folderspec) 参数 object 必选项。应为 FileSy
GetFileName 方法 返回指定路径(不是指定驱动器路径部分)的最后一个文件或文件夹。 object.GetFileName(pathspec) 参数 object 必选项。应为
GetFile 方法 返回与指定路径中某文件相应的 File 对象。 object.GetFile(filespec) 参数 object 必选项。应为 FileSystemObject
GetExtensionName 方法 返回字符串,该字符串包含路径最后一个组成部分的扩展名。 object.GetExtensionName(path) 参数 object 必选项。应
GetDriveName 方法 返回包含指定路径中驱动器名的字符串。 object.GetDriveName(path) 参数 object 必选项。应为 FileSystemObjec
GetDrive 方法 返回与指定的路径中驱动器相对应的 Drive 对象。 object.GetDrive drivespec 参数 object 必选项。应为 FileSystemO
GetBaseName 方法 返回字符串,其中包含文件的基本名 (不带扩展名), 或者提供的路径说明中的文件夹。 object.GetBaseName(path) 参数 object 必
GetAbsolutePathName 方法 从提供的指定路径中返回完整且含义明确的路径。 object.GetAbsolutePathName(pathspec) 参数 object
FolderExists 方法 如果指定的文件夹存在,则返回 True;否则返回 False。 object.FolderExists(folderspec) 参数 object 必选项
FileExists 方法 如果指定的文件存在返回 True;否则返回 False。 object.FileExists(filespec) 参数 object 必选项。应为 FileS
我是一名优秀的程序员,十分优秀!