question

shubham2502 avatar image
shubham2502 asked shubham2502 commented

Facing issue while uploading the apk. i have 2 errors on 2 different projects

[error1: Failed to Parse AndroidManifest.xml from apk]

[error2: More than one certificate found in merchantManifest. The APK must be signed with one certificate.]

As per the document

I signed the apk with v1 signature


I have Used

min sdk version = 17,

target sdk version = 25 and

compile sdk version = 31


I am working on Flutter and i am implementing clover payment using flutter method channel.


i have tried creating two different projects and i am getting two different errors on each

can anyone please assist me on the above errors....
Thanks in Advance

Clover Android SDKclover developer communityClover Flex
10 |2000

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

natalieclover avatar image
natalieclover answered

Hello,

For error2, their cannot be two of the same APKs uploaded to Clover. You'll need to give the APK a different name in order to upload it. If you change the name and are still experiencing errors please let us know here.

Thank you!

Natalie

10 |2000

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

shubham2502 avatar image
shubham2502 answered shubham2502 commented

I am uploading my first apk so there's no possibility of apk with same name already exist.

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.

natalieclover avatar image natalieclover ♦♦ commented ·

Got it, I am guessing by the first error there is a line of code that is missing a tag.

I would check through your AndroidManifest.xml for anything like that.
2 Likes 2 ·
shubham2502 avatar image shubham2502 natalieclover ♦♦ commented ·

here is my manifest file please have a look into it...

img.png

0 Likes 0 ·
img.png (99.5 KiB)

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