Error while installing release version of Flutter app on Android 12 : "Parse Error : There was a problem parsing the package"

1,008

Solution 1

In Android 12 and later any launchable activity should contain this flag in manifest :

exported="true"

Solution 2

please install android SDK 30 in android studio

Share:
1,008
AVEbrahimi
Author by

AVEbrahimi

Untying an impossibly tangled knot is actually possible. For every problem, there is a solution. And I am just one who is interested in untying and solving, that's it :)

Updated on January 01, 2023

Comments

  • AVEbrahimi
    AVEbrahimi over 1 year

    I have a Flutter app, working properly on multiple Android and iOS devices. Recently I found it's release version APK can't be installed on Pixel phone having Android 12, I receive this error :

    Parse Error : There was a problem parsing the package

    (I am using Flutter 2.5.3, current latest version)