question

joseambrosio avatar image
joseambrosio asked Jeffrey Blattman commented

Flutter app signing

Hello everyone, I am trying to upload a Flutter apk to the market but my app is getting signed with signing scheme v2. Does anyone know how to make it so the apk is signed in v1 scheme?

App Market
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

joseambrosio avatar image
joseambrosio answered

I was able to resolve by using android studio. I opened the Flutter app's android folder with Android Studio. Changed build variant to release then signed using Build > Generate Signed Bundle / APK... button. After that I unselected V2.

Followed the instructions in the attached link

https://flutter.dev/docs/deployment/android#how-do-i-build-a-release-from-within-android-studio

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Dan avatar image
Dan answered Jeffrey Blattman commented

Turn off v2SigningEnabled in gradle fellas

3 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

colmoloughlin avatar image colmoloughlin commented ·

Following...hit the same wall here.

Can sign in android studio v1 but we are generally using flutter. Any idea how to wrap APK with v1 signature?

0 Likes 0 ·
colmoloughlin avatar image colmoloughlin commented ·

What if you want to sign with both? It’s only the clover market that wants v1 signing for the older versions of android I guess

0 Likes 0 ·
Jeffrey Blattman avatar image Jeffrey Blattman ♦♦ colmoloughlin commented ·

For Clover, you can't sign with both. You need to sign with v1 and NOT v2. This is for all devices.

If you have the option to produce an APK with no signing then you can add a v1 signature manually.

https://developer.android.com/studio/command-line/apksigner

0 Likes 0 ·

Welcome to the
Clover Developer Community