-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error when trying to generate APK with the lib: Could not resolve all artifacts for configuration ':react-native-blob-courier:debugUnitTestRuntimeClasspath'. #186
Comments
Hi @limaCoder, thank you for reaching out and for your detailed bug description! I'll have to investigate the exact reason for this exception, but you should be able to fix it by adding Let me know if it works for you! Once I find time for further investigation I'll post my findings here. |
Hi @edeckers! So, at first, I received this warning indicating that After that, the build failed with an exception below... that line of code didn't resolve the problem :( |
That's annoying :( There's hope though, because
Can you add / modify these lines in your lintOptions {
abortOnError false
checkReleaseBuilds false
} |
you can try this solution https://stackoverflow.com/a/70689804/10811237 |
@edeckers I added these lines and it stopped giving errors in the build! But it's not recommended to set the value of 'abortOnError' to 'false', which can be a problem with the app in production because it's important to know if the app contains errors... I really enjoyed the lib, managed to be the only one that served me well to make downloads in a simple way! I want to continue to use it, so could you try to fix this bug and notify me as soon as possible? |
Happy it helped you @limaCoder and thanks for chiming in @ebrahimhassan121! I'll look into this issue as soon as possible and fix it an appropriate manner. Expectation management: I think I will get to it in the upcoming two weeks, but I can't promise. I'll keep you posted through this thread. |
For posterity, because it was mentioned in this thread several times: I've created an issue to replace it in the near future! |
Thanks, @edeckers, I appreciate it a lot! I'll be waiting for the fix :) |
Fixed the issue by bumping a few dependencies: I'll try to release it this weekend! |
For future reference: #187 (comment)
What version of RN are you using? I've compiled the example app included in this repository on both 0.62.2 and 0.66.1 after the changes I made in #188, which worked fine for me even after I changed Are you running into the |
Hmm, I think you might be using an older version of Can you try if these changes work for you? If they do I'll make sure to add them to the README.md. Relevant lines in the Example app: |
Awesome @limaCoder! I'll make sure to add it, thank you for reporting back and enjoy your working app :) |
Description
I developed an APP using the library without any problems, but when I tried to generate an APK occurs this error on the terminal and I haven't found any solutions on the web or here...
Steps to reproduce the behavior:
Screenshots
The text was updated successfully, but these errors were encountered: