question

hardik22 avatar image
hardik22 asked David Marginian Deactivated commented

Not able to upload apk file generated using latest android studio Chipmunk

Can you please help me with this as i am not able to upload apk file generated using Android Studio latest version. As It allows Both V1 and V2 both signatures and there is no option for select it. As clover supports apk generated using V1 signature only.

Clover Android SDKclover developer communityClover Mobile
10 |2000

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

1 Answer

·
David Marginian avatar image
David Marginian Deactivated answered David Marginian Deactivated commented

You can try the following in your gradle config, I am not certain it works but I found it by Googling around (you may also need to set v3SigningEnabled false, not 100%):

    signingConfigs {
        release  {
            keyAlias "aliasHere"
            keyPassword "keyPassHere"
            storeFile file("pathToJksHere")
            storePassword "storePassHere"
            //Enable V1 signing
            v1SigningEnabled true
            v2SigningEnabled false
        }
    }

    buildTypes {
        release {
            minifyEnabled true
            //Use the signing configuration we just defined
            signingConfig signingConfigs.release
        }
    }


2 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.

Works fine. but for targetSdkVersion 30 not working for new android studio

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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

Welcome to the
Clover Developer Community