Search code examples
androidflutterbuildmanifestpubspec

Flutter Android 12 exported="false" Error


I made a new app and I'm in the process of uploading it to google play store. But I am getting exported="false" error. I tried many ways but couldn't. I updated most of the packages in the pubspec file to the latest version, but still the false value did not return to true.


Solution

  • As you said you had updated all pubs to latest version then you need to update your compileSDKVersion to 33 and for that you need to specify in your project's Android Maniifest file and make launcher activity to be "android:exported"="false" as per this