Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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)

like image 254
AVEbrahimi Avatar asked Jan 20 '26 08:01

AVEbrahimi


2 Answers

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

exported="true"
like image 68
AVEbrahimi Avatar answered Jan 22 '26 21:01

AVEbrahimi


use

android:exported="true"

on activity follow the image

enter image description here

like image 29
Rasel Khan Avatar answered Jan 22 '26 21:01

Rasel Khan