New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while trying to run #3
Comments
can you try to add this to the intent filter <service android:label="notifications" android:name="notification.listener.service.NotificationListener"
android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE" android:exported="false">
<intent-filter>
<action android:name="android.service.notification.NotificationListenerService" />
</intent-filter>
</service>
|
yes i added false, but still not able to build. |
can you share ur AndroidManifest with full error log |
`
` log: adb: failed to install C:\Users\AKHIL\StudioProjects\notification_listener_service_1\example\build\app\outputs\flutter-apk\app.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl967353062.tmp/base.apk (at Binary XML file line #22): notification.listener.service.NotificationListener: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present] |
did you change the service with this one ? |
this will solve the problem |
@X-SLAYER In my case error showing like this
|
Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]
Error launching application on LE2101.
The text was updated successfully, but these errors were encountered: