I have made an app in Flutter and am trying to install the apk on my physical device.I have done this numerous times in the past but recently I started getting this error when trying to install the apk:
--> "App not installed as package appears to be invalid."
Here are my specs, which hopefully will help:
Phone: Samsung S22+ (Android version 13, last updated Feb 2023)
Apk Installer: Package Installer (default one on the phone)
Method building apk: flutter build apk or flutter build apk --build-name 1.1.0 --build-number 1
android/app/src/main/build.gradle:
defaultConfig {
        applicationId "com.ceventures.app.locationalerts.cedric.eicher"
        minSdkVersion 21
        targetSdkVersion flutter.targetSdkVersion
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }
Does anyone know how to solve this?
