Error in Android 31

This is for just notice! I got this error:

failed to install /Users/ehsannikaeen/Documents/GitHub/foroodjaApp/build/app/outputs/flutter-apk/app.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl731382703.tmp/base.apk (at Binary XML file line #54): com.backendless.backendless_sdk.common.FlutterBackendlessFCMService: Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present]
Error: Failed to install APK again.
Error launching application on sdk gphone64 x86 64.

I set android:exported="true" and the error didn’t go away.
I set my targetSdkVersion 30.

Hello, @Ehsan_Nikaeen1.

Try setting exported false. There are also many threads on this topic on stackoverflow(for example flutter - Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined when intent filters are present] - Stack Overflow).

This error occurs due to incorrect project settings.

Best Regards, Nikita.

Problem fixed here : Targeting S+ (version 31 and above) requires that an explicit value for android:exported be defined - YouTube

1 Like