Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/218.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 未获取xml格式的文件GcmBroadcastReceiver和InAppNotificationActivity_Android - Fatal编程技术网

Android 未获取xml格式的文件GcmBroadcastReceiver和InAppNotificationActivity

Android 未获取xml格式的文件GcmBroadcastReceiver和InAppNotificationActivity,android,Android,找不到GcmBroadcastReceiver我创建了GcmBroadcastReceiver类,但在我的AndroidManifest文件中,我遇到了错误,它没有以xml格式获取文件GcmBroadcastReceiver <receiver android:name="com.clevertap.android.sdk.GcmBroadcastReceiver" android:permission="com.google.android

找不到GcmBroadcastReceiver我创建了GcmBroadcastReceiver类,但在我的AndroidManifest文件中,我遇到了错误,它没有以xml格式获取文件GcmBroadcastReceiver

<receiver
            android:name="com.clevertap.android.sdk.GcmBroadcastReceiver"
            android:permission="com.google.android.c2dm.permission.SEND">
            <intent-filter>
                <action
                    android:name="com.google.android.c2dm.intent.RECEIVE"/>
                <action
                    android:name="com.google.android.c2dm.intent.REGISTRATION"/>
                <category android:name="com.vedicrishiastro.kundli"/>
            </intent-filter>
        </receiver>

        <meta-data
            android:name="com.google.android.gms.version"
            android:value="@integer/google_play_services_version"/>
        <activity
            android:name="com.clevertap.android.sdk.InAppNotificationActivity"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:configChanges="orientation|keyboardHidden"/>

    </application>



GcmBroadcastReceiver.class

public class GcmBroadcastReceiver extends WakefulBroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {

    }
}

GcmBroadcastReceiver.class
公共类GcmBroadcastReceiver扩展WakefulBroadcastReceiver{
@凌驾
公共void onReceive(上下文、意图){
}
}

日志中出现了什么错误,您可以发布吗line@Edgarprabhu在我的AndroidManifest com.clevertap.android.sdk中,“GcmBroadcastReceiver”在redu xml中,对吧,您在您的xml中是否发现任何错误?是的,它找不到com.clevertap.android.sdk.GcmBroadcastReceiver您是否仅尝试运行此项目