Try invalidating your project and gradle cache as Oleg and I suggested.
To clear Gradle cache - delete everything related to Backendless at ~/.gradle/caches/ Project cache can be invalidated in your IDE - File > Invalidate Caches/ Restart (then click Invalidate and restart)
Android Studio makes a lot of files as caches and deletes them on request. This may be causing issues including yours.
Please try invalidating caches, when done - clear and build your project, repeat your message publishing/receiving scenario and let us know about results.
Could you please send me a private message with your app ID and “Google Project Number” (the value you use in the registerDevice API call)? I’d like to try a basic test with your app/settings. You can send the message to the support user.
Hi Anton,
I have done that but still… In fact the crash stack I have sent you was taken from my Play Console so most probably this could be occuring on devices having an older version of my app.
Thanks, Ralph. Coincidentally, someone else reported a problem which occurs only with Android 8 (notifications work on prior versions). Could you please let me know if this is the version of the OS you’re using?
We eventually found what might be causing issues with Android 8 devices. We’ll roll out a new version of Android SDK soon, and will notify you as soon as it will be available. We do not expect that the fix will take too long. But currently as a workaround you can try creating your own classes of push receiver and push service and handle notifications by yourself as described here: http://backendless.com/docs/android/doc.html#push_push_notification_setup_androi
Please let us know whether everything is ok with devices > 26 API on your side.
Thank your reply, I guess I’d prefer to wait until the issue is fixed in the SDK.
I haven’t been able to test it on a device > 26 API but I am quite sure it is working, I have users receiving my notifications correctly.
Hi, Ralph.
A new backendless.jar (our Android sdk) have been already deployed to central maven repository under version 5.0.3 and will be available in 1-2 days.