<manifest ...> ... <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> ... <application ...> ... </manifest>