我收到这些警告信息,我不确定如何解决:
02-14 14:01:15.255:I / dalvikvm(10677):找不到方法 android.view.ViewGroup.onNestedScrollAccepted,从方法引用 android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted
02-14 14:01:15.255:W / dalvikvm(10677):VFY:无法解析虚拟 方法11769:Landroid / view / ViewGroup; .onNestedScrollAccepted (Landroid /视图/视图; Landroid /视图/视图;我)V
02-14 14:01:15.255:D / dalvikvm(10677):VFY:替换操作码0x6f at 0×0000
02-14 14:01:15.255:I / dalvikvm(10677):找不到方法 android.view.ViewGroup.onStopNestedScroll,从方法引用 android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll
02-14 14:01:15.255:W / dalvikvm(10677):VFY:无法解析虚拟 方法11775:Landroid / view / ViewGroup; .onStopNestedScroll (Landroid /视图/视图;)V
02-14 14:01:15.255:D / dalvikvm(10677):VFY:替换操作码0x6f at 0×0000
02-14 14:01:15.260:I / dalvikvm(10677):找不到方法 android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, 从方法中引用 android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled
02-14 14:01:15.260:W / dalvikvm(10677):VFY:无法解析虚拟 方法9420: Landroid /支撑/ V7 /内部/插件/ ActionBarOverlayLayout; .stopNestedScroll ()V
02-14 14:01:15.260:D / dalvikvm(10677):VFY:替换操作码0x6e at 0x000e
02-14 14:01:15.605:I / dalvikvm(10677):找不到方法 android.content.res.TypedArray.getChangingConfigurations,引用 从方法 android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations
02-14 14:01:15.605:W / dalvikvm(10677):VFY:无法解析虚拟 方法547:Landroid / content / res / TypedArray; .getChangingConfigurations ()我
02-14 14:01:15.605:D / dalvikvm(10677):VFY:替换操作码0x6e at 0×0002
02-14 14:01:15.610:I / dalvikvm(10677):找不到方法 android.content.res.TypedArray.getType,从方法引用 android.support.v7.internal.widget.TintTypedArray.getType
02-14 14:01:15.610:W / dalvikvm(10677):VFY:无法解析虚拟 方法569:Landroid / content / res / TypedArray; .getType(I)I
02-14 14:01:15.610:D / dalvikvm(10677):VFY:替换操作码0x6e at 0×0002
我的Android清单文件:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="bkbarbados.com.mygcm" >
<!-- Permissions for GCM -->
<permission
android:name="bkbarbados.com.mygcm.permission.C2D_MESSAGE"
android:protectionLevel="signature" />
<uses-permission android:name="bkbarbados.com.mygcm.permission.C2D_MESSAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<application
android:name=".Global"
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
<activity
android:name=".ListPeople"
android:label=" Chat App">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ChatActivity"
android:label=" Chat App"
android:launchMode="singleTop">
</activity>
<!-- Receiver for GCM -->
<receiver
android:name=".GcmBroadcastReceiver"
android:permission="com.google.android.c2dm.permission.SEND" >
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="bkbarbados.com.mygcm" />
</intent-filter>
</receiver>
<service android:name=".GcmIntentService" />
</application>
</manifest>
答案 0 :(得分:1)
您在构建路径中未选中添加的库。试试这个链接
答案 1 :(得分:0)
它可以完全参与修复。之前关于该问题的讨论: