Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppBundle publication error: The file is being processed. It may take 2-5 minutes, depending on the size of the software package #7

Closed
cosic opened this issue Oct 3, 2020 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@cosic
Copy link
Contributor

cosic commented Oct 3, 2020

Reproduce on library v1.1.0 with options

{
   ...
   publish = true
   buildFormat = "aab"
}

Output:

> Task :app:publishHuaweiAppGalleryRelease
Huawei AppGallery Publishing API: Found build file: `app-release.aab`
Huawei AppGallery Publishing API: Get Credentials
Huawei AppGallery Publishing API: Get Access Token
Huawei AppGallery Publishing API: Get App ID
Huawei AppGallery Publishing API: Get Upload Url
Huawei AppGallery Publishing API: Upload build file
Huawei AppGallery Publishing API: Update App File Info
Huawei AppGallery Publishing API: Submit Release
> Task :app:publishHuaweiAppGalleryRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:publishHuaweiAppGalleryRelease'.
> Ret(msg=[cds]submit failed, additional msg is [The file is being processed. It may take 2-5 minutes, depending on the size of the software package.])
@cosic cosic added the bug Something isn't working label Oct 3, 2020
@cosic cosic self-assigned this Oct 3, 2020
@minamak91
Copy link

@cosic Is the commit attached should fix the issue? If yes, could you please merge the develop to the master?

@cosic
Copy link
Contributor Author

cosic commented Oct 30, 2020

@minamak91 Hi! I've published snapshot_1.2.0. Could you check AppBundle publishing with this version without release phase? The release phase doesn't work yet due to issue at Huawei Rest API. For more information see READNE at snapshot-1.2.0 branch

@minamak91
Copy link

@cosic This doesn't work for me and when I tried to publish the branch on Jitpack, it fails...

classpath "ru.cian:huawei-publish-gradle-plugin:1.2.0-SNAPSHOT"

Could you please just tell me what should be the version added to the build gradle classpath?
Thanks in advance :)

@cosic
Copy link
Contributor Author

cosic commented Oct 31, 2020

@minamak91 To use snapshot you must add sonatype snapshot repository:

buildscript {
    repositories {
        maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
    }

    dependencies {
        classpath "ru.cian:huawei-publish-gradle-plugin:1.2.0-SNAPSHOT"
    }
}

@minamak91
Copy link

@cosic It works fine the publishing without release phase, thank you so much 👍

@cosic
Copy link
Contributor Author

cosic commented Nov 12, 2020

Released at v1.2.1

@cosic cosic closed this as completed Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants