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

Not able to build commcare android #2473

Closed
siddesh13 opened this issue May 12, 2021 · 7 comments
Closed

Not able to build commcare android #2473

siddesh13 opened this issue May 12, 2021 · 7 comments

Comments

@siddesh13
Copy link

Hello,
As I import commcare android in android studio I am not able to build project because of the following issue
Unable to resolve dependency for ':app@standaloneRelease/compileClasspath': Could not resolve io.ona.kujaku:library:0.7.2.
Could not GET 'http://dl.bintray.com/ona/kujaku/io/ona/kujaku/library/0.7.2/library-0.7.2.pom'. Received status code 403 from server: Forbidden
Please suggest
Thanks
Siddesh S

@ShivamPokhriyal
Copy link
Contributor

Hi @siddesh13, Sorry to hear that the build is failing.

Is your branch up to date with master? It seems like Could not resolve io.ona.kujaku:library:0.7.2 is trying to use version 0.7.2 of kujaku and we're on version 0.8.7 currently.

Have you made any changes to commcare?

@siddesh13
Copy link
Author

Having same error on master
Could not GET 'http://dl.bintray.com/ona/kujaku/io/ona/kujaku/library/0.8.7/library-0.8.7.pom'. Received status code 403 from server: Forbidden

@shubham1g5
Copy link
Contributor

It's probably due to this, waiting for a response there. In the meanwhile you can try commenting this dependency and BaseMapboxActivity and it's subclasses to build.

@ekigamba
Copy link

ekigamba commented May 12, 2021

@shubham1g5 @ShivamPokhriyal @siddesh13 Replied onaio/kujaku#352 (comment)

We are working to put this in maven central so that it's easier to import

@siddesh13
Copy link
Author

Could not GET 'https://maven.pkg.github.com/onaio/kujaku/io/ona/kujaku/library/0.9.0/library-0.9.0.pom'. Received status code 401 from server: Unauthorized

@ekigamba
Copy link

@siddesh13 Kindly make sure you have the github token configured and username with access to read-packages

@shubham1g5
Copy link
Contributor

@siddesh13 this should be resolved now. Can you pull again and try. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants