CodeMinion / another_brother

Another Brother Flutter SDK
BSD 3-Clause "New" or "Revised" License
21 stars 19 forks source link

App Android build fails with error #77

Closed iklochko closed 7 months ago

iklochko commented 7 months ago

When building the app for Android, build is failing with log

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':another_brother:generateReleaseRFile'.
> Could not resolve all files for configuration ':another_brother:releaseCompileClasspath'.
   > Could not resolve com.brother.sdk:printer:4.6.1.
     Required by:
         project :another_brother
      > Could not resolve com.brother.sdk:printer:4.6.1.
         > Could not parse POM https://rouninlabs.jfrog.io/artifactory/rounin-libs-external/com/brother/sdk/printer/4.6.1/printer-4.6.1.pom
            > Already seen doctype.
   > Could not resolve com.brother.typeb:print:1.0.0.
     Required by:
         project :another_brother
      > Could not resolve com.brother.typeb:print:1.0.0.
         > Could not parse POM https://rouninlabs.jfrog.io/artifactory/rounin-libs-external/com/brother/typeb/print/1.0.0/print-1.0.0.pom
            > Already seen doctype.

When trying to access https://rouninlabs.jfrog.io/artifactory/rounin-libs-external/com/brother/sdk/printer/4.6.1/printer-4.6.1.pom, the page says that JFrog's Free-Tier subscription has been deactivated.

CodeMinion commented 7 months ago

Hi @iklochko ,

Thanks for reaching out about this. It seems JFrog has ceased their open source project support and the hosted libraries are no longer available.

We'll be looking for an alternative this weekend and be sure to let you know through here when it has been resolved.

Thanks again,

CodeMinion commented 7 months ago

Hi @iklochko ,

Version 2.1.2 of another_brother is now available and it resolves the dependency issues you were seeing. I'll leave this ticket open for you to close once you have verified that it's all building for you.

Thanks again for reaching out about this.

iklochko commented 7 months ago

@CodeMinion thank you for quick update. Will verify it during few days. Any chance to do the same for no_type_b version?

CodeMinion commented 7 months ago

Hi @iklochko ,

Anytime, glad I could help. The same change has now been made to the ios-no-type-b branch.

Someone reported that they did not have any rejections on the Apple store while using the main branch so you might not need it after all.

iklochko commented 7 months ago

Hi @CodeMinion Thank you for the update. I would like to use main branch either, through I can not build it due to issues described here in comments.

As for this particular issue, thank you again, I confirm it's resolved now.