FirebasePushNotificationPlugin
FirebasePushNotificationPlugin copied to clipboard
Java exited code 1
When I install this plugin in android project there is many issues appear :
- Restore packages failed ,
- Version conflict detected for Xamarin.Android.Support.Compat. Install/reference Xamarin.Android.Support.Compat 28.0.0.3 directly to project Alhayatisp.Android to resolve this issue. myspp.Android -> Plugin.FirebasePushNotification 3.4.1 -> Xamarin.Android.Support.v4 28.0.0.3 -> Xamarin.Android.Support.Compat (= 28.0.0.3) myapp.Android -> Alhayatisp -> Xamarin.Forms.GoogleMaps 3.3.0 -> Xamarin.Android.Support.v7.AppCompat 25.1.0 -> Xamarin.Android.Support.Compat (= 25.1.0). Restore failed.
- I tried to create new android app and get the java exited code 1 error .
- more than 3 projects I created and in each time the errors caused by the last version of Plugin Firebase push notification
Look at #411 if you use Android 12
Look at #411 if you use Android 12
I tried to add the code suggested in #411
<!-- Necessary for Plugin.FirebasePushNotification --> <service android:name="crc6494e14b9856016c30.PNFirebaseMessagingService" android:exported="true" tools:node="merge"> <intent-filter> <action android:name="com.google.firebase.MESSAGING_EVENT" /> </intent-filter> </service>
but I still get the Java exited code 1 error. Any suggestions?