casimir / frigoligo

Your articles with you
MIT License
50 stars 4 forks source link

Certificate errors #56

Closed TheOnAndOnlyZenomat closed 1 year ago

TheOnAndOnlyZenomat commented 1 year ago

Hey, when I try to install the apk from the release page, I get the error

App not installed as package appears to be invalid.

When I try to install with adb

adb: failed to install build/app/outputs/flutter-apk/app-armeabi-v7a-release.apk: Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES: Failed to collect certificates from /data/app/vmdl415444750.tmp/base.apk: Attempt to get length of null array]

Searching the web I found, that it has to do with singingConfig in android/app/build.gradle. When compiling with

buildTypes {
    release {
        signingConfig signingConfigs.debug
    }
}

in android/app/build.gradle I can install it with adb no problem.

casimir commented 1 year ago

Thanks for your really complete report. I made a fix and cut a new release for the occasion https://github.com/casimir/frigoligo/releases/tag/v0.4.1. Feel free to reopen the issue if needed and enjoy the app!

TheOnAndOnlyZenomat commented 1 year ago

Great, thanks for the quick response :)