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

Unable to compile > Could not find io.ktor:ktor-network:3.0.1-PYAMSOFT #367

Closed
maxbrito500 opened this issue Dec 8, 2024 · 3 comments
Closed
Labels
documentation Improvements or additions to documentation

Comments

@maxbrito500
Copy link

This was a fresh clone of the project [1] today at an empty folder, running the most recent android studio (ladybug 2024.2.1 Patch 3).

Below is the error message when trying to compile.

How can this be solved?

Thank you in advance.

94: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':ui:mergeDebugAndroidTestNativeLibs'.
> Could not resolve all files for configuration ':ui:debugAndroidTestRuntimeClasspath'.
   > Could not find io.ktor:ktor-network:3.0.1-PYAMSOFT.
     Required by:
         project :ui > project :server

* Try:

[1] commit version: 33f28f2

@maxbrito500 maxbrito500 changed the title Unable to compile Unable to compile > Could not find io.ktor:ktor-network:3.0.1-PYAMSOFT Dec 8, 2024
@pyamsoft
Copy link
Owner

pyamsoft commented Dec 8, 2024

Hi, please see #348

This project uses a fork of ktor, which you will need to build yourself

@pyamsoft pyamsoft added the documentation Improvements or additions to documentation label Dec 8, 2024
@pyamsoft pyamsoft closed this as completed Dec 8, 2024
@maxbrito500
Copy link
Author

Hello, please don't close the ticket so quickly.

Anyone trying to compile the source code will stumble on the same issue. Was now looking in the archive and this has been mentioned before.

Just "build yourself tor" isn't helpful, the complete instrutions can be found here: #348 (comment)

Can you please include a section "How to compile" so that this error does not reoccur for others?

If you want, I can also submit that section as documentation but might be more pratical for you to write it.

Thank you.

@pyamsoft
Copy link
Owner

pyamsoft commented Dec 8, 2024

Hi sorry about that

The issue is pinned and has instruction included in it, so I figure that anyone looking for a build solution would see the pinned issue first as a due diligence.

I will look to add a section to the wiki about compilation, but the fork is a temporary solution until upstream supports a single line of code addition. At the point ktor can complete my feature request, the fork will no longer be needed and the project would build out of the box.

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

No branches or pull requests

2 participants