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

Publishing bug: The package is being compiled, please try again #38

Closed
iliaskomp opened this issue Mar 14, 2022 · 6 comments
Closed

Publishing bug: The package is being compiled, please try again #38

iliaskomp opened this issue Mar 14, 2022 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@iliaskomp
Copy link

It seems that this issue has reappeared with the latest huawei publish plugin version (1.3.1):

> Task :app:publishHuaweiAppGalleryRelease
Huawei AppGallery Publishing API: Generate Config
Huawei AppGallery Publishing API: Found build file: `release.apk`
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 'app/build/outputs/apk/release/release.apk'
Huawei AppGallery Publishing API: Update App File Info
Huawei AppGallery Publishing API: Submit Review
> Task :app:publishHuaweiAppGalleryRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:publishHuaweiAppGalleryRelease'.
> SubmitResponse(ret=Ret(code=204144727, msg=[AppGalleryConnectPublishService]The package is being compiled, please try again in 3-5 minutes))

Versions
Huawei publish gradle plugin: 1.3.1
Gradle 7.2.0
AGP: 7.1.2

@cosic cosic self-assigned this Mar 14, 2022
@cosic cosic added the bug Something isn't working label Mar 14, 2022
@cosic
Copy link
Contributor

cosic commented Mar 14, 2022

@iliaskomp Hi, I've reproduced. I guess than Huawei changed the behavior of current api url for apk build and taken it as for aab with waiting of review. I going to deal with this soon.

@cosic
Copy link
Contributor

cosic commented Mar 15, 2022

@iliaskomp As I've supposed. Please check you case on 1.3.3-SNAPSHOT version.

@iliaskomp
Copy link
Author

Thank you for your quick response.
Is the artifact published? I am getting the error: Could not find ru.cian:huawei-publish-gradle-plugin:1.3.3-SNAPSHOT

@cosic
Copy link
Contributor

cosic commented Mar 16, 2022

@iliaskomp Yes, the artifact published. You can check it here. Did you add Sonatype SNAPSHOT repository to dependencies from README tutorial?

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

@iliaskomp
Copy link
Author

Oh thanks, using this repository for the snapshop resolves the artifact

@cosic cosic closed this as completed Mar 20, 2022
@cosic
Copy link
Contributor

cosic commented Mar 20, 2022

Release at v1.3.3

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