私はコルドバのAndroidプロジェクトを持っている必要.classファイルから参照されている、と私はMyFirebaseMessagingService.javaファイルに次のエラーを取得していますGoogle Firebase Cloud Messaging Cordova Push Pluginタイプcom.google.firebase.iid.zzbを解決できません。間接的に
を追加しました。
The hierarchy of the type MyFirebaseMessagingService is inconsistent
と
The type com.google.firebase.iid.zzb cannot be resolved. It is indirectly referenced from required .class files
私のクラスパスファイル。
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
<classpathentry exported="true" kind="lib" path="Downloads/google-play-services.jar/google-play-services.jar"/>
<classpathentry exported="true" kind="lib" path="Downloads/google-firebase-iid.jar"/>
<classpathentry exported="true" kind="lib" path="Downloads/firebase-messaging-9.2.0.jar"/>
<classpathentry exported="true" kind="lib" path="Downloads/android-support-v4.jar (2)/android-support-v4.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
私はさまざまなjarファイルを削除して追加するというさまざまな組み合わせを試みましたが、運はありません。
このプラグインを追加する前に他の誰かがこのエラーに遭遇しましたか?
ありがとうございました。必要に応じて、より多くのコードやスクリーンショットを投稿することができます。
ヒント: "クラスパス" 情報最後に使用しているJARファイルのリストです。言い換えれば:**テキスト**。スクリーンショットは最後の手段です。それ以外の方法がない場合にのみ使用してください。 – GhostCat