gpt4 book ai didi

android - 如何解决这些 logcat 警告消息???安卓工作室

转载 作者:太空狗 更新时间:2023-10-29 14:10:54 26 4
gpt4 key购买 nike

我收到这些警告消息,但我不确定如何解决:

02-14 14:01:15.255: I/dalvikvm(10677): Could not find method android.view.ViewGroup.onNestedScrollAccepted, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onNestedScrollAccepted

02-14 14:01:15.255: W/dalvikvm(10677): VFY: unable to resolve virtual method 11769: Landroid/view/ViewGroup;.onNestedScrollAccepted (Landroid/view/View;Landroid/view/View;I)V

02-14 14:01:15.255: D/dalvikvm(10677): VFY: replacing opcode 0x6f at 0x0000

02-14 14:01:15.255: I/dalvikvm(10677): Could not find method android.view.ViewGroup.onStopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.onStopNestedScroll

02-14 14:01:15.255: W/dalvikvm(10677): VFY: unable to resolve virtual method 11775: Landroid/view/ViewGroup;.onStopNestedScroll (Landroid/view/View;)V

02-14 14:01:15.255: D/dalvikvm(10677): VFY: replacing opcode 0x6f at 0x0000

02-14 14:01:15.260: I/dalvikvm(10677): Could not find method android.support.v7.internal.widget.ActionBarOverlayLayout.stopNestedScroll, referenced from method android.support.v7.internal.widget.ActionBarOverlayLayout.setHideOnContentScrollEnabled

02-14 14:01:15.260: W/dalvikvm(10677): VFY: unable to resolve virtual method 9420: Landroid/support/v7/internal/widget/ActionBarOverlayLayout;.stopNestedScroll ()V

02-14 14:01:15.260: D/dalvikvm(10677): VFY: replacing opcode 0x6e at 0x000e

02-14 14:01:15.605: I/dalvikvm(10677): Could not find method android.content.res.TypedArray.getChangingConfigurations, referenced from method android.support.v7.internal.widget.TintTypedArray.getChangingConfigurations

02-14 14:01:15.605: W/dalvikvm(10677): VFY: unable to resolve virtual method 547: Landroid/content/res/TypedArray;.getChangingConfigurations ()I

02-14 14:01:15.605: D/dalvikvm(10677): VFY: replacing opcode 0x6e at 0x0002

02-14 14:01:15.610: I/dalvikvm(10677): Could not find method android.content.res.TypedArray.getType, referenced from method android.support.v7.internal.widget.TintTypedArray.getType

02-14 14:01:15.610: W/dalvikvm(10677): VFY: unable to resolve virtual method 569: Landroid/content/res/TypedArray;.getType (I)I

02-14 14:01:15.610: D/dalvikvm(10677): VFY: replacing opcode 0x6e at 0x0002

我的 Android list 文件:

<?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>

最佳答案

您添加的库未在构建路径中选中。试试这个链接

Unable to solve virtual method

关于android - 如何解决这些 logcat 警告消息???安卓工作室,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28518618/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com