shr3jn/fastlane-plugin-huawei_appgallery_connect

app's packages exceeds the upper limit

hebadarweesh1 opened this issue · 3 comments

gradle(
    task: 'bundle',
    build_type: getDistConfiguration(),
    print_command: true,
    print_command_output:true,
    properties: androidSigning()
)

huawei_appgallery_connect(
    client_id: ****,
    client_secret:*****,
    app_id: *****,
    apk_path: Actions.lane_context[SharedValues::GRADLE_AAB_OUTPUT_PATH],  
    is_aab: true,
    submit_for_review: false,
)

i get an error {"ret"=>{"code"=>204144662, "msg"=>"[cds]add apk failed, additional msg is [the app's packages exceeds the upper limit.]"}}.

I am not sure how it shows apk failed while i am uploading an aab. also i uploaded the same aab to play store and it is working fine.

Please refer to the following size limit as per: https://developer.huawei.com/consumer/en/doc/agcapi-file-requirement
RPK: up to 20 MB;
APK: up tp 4 GB;
AAB: up to 150 MB.

Make sure your package is below the limits.

thanks for sharing this. I have read it before that is why i am confused as my aab is 58MB. Moreover it was released on play store successfully @shr3jn

i just realized what is the issue, the number of packages (aab bundles) uploaded to Huawei app gallery were 300 bundle (which i believe is the max number) so i had to delete old packages to be able to upload a new one.