Again: You need to install Android SDK 28 to get a Android.jar for this version.
Change the path in Tools-Configure paths.
You do not ned to change the targetsdk in your manifest. Just change the Android.jar used.
I AM using Firebase Notifications and RuntimePermissions in my app which compiles fine.