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 the project #807

Closed
s9iper1 opened this issue Aug 2, 2021 · 14 comments
Closed

Not able to build the project #807

s9iper1 opened this issue Aug 2, 2021 · 14 comments
Labels
question Further information is requested

Comments

@s9iper1
Copy link

s9iper1 commented Aug 2, 2021

i followed your guide,
clone -> run the script -> gradle build

i get this error

Could not determine the dependencies of task ':domain:preBuild'.

Could not create task ':domain:fixPaths'.
Could not resolve all files for configuration ':domain:needFixing'.
> Could not find org.toktok:tox4j-c_x86_64-linux-android:0.2.12.
Searched in the following locations:
- file:/home/s9iper1/.m2/repository/org/toktok/tox4j-c_x86_64-linux-android/0.2.12/tox4j-c_x86_64-linux-android-0.2.12.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_x86_64-linux-android/0.2.12/tox4j-c_x86_64-linux-android-0.2.12.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_x86_64-linux-android/0.2.12/tox4j-c_x86_64-linux-android-0.2.12.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_i686-linux-android:0.2.12.
Searched in the following locations:
- file:/home/s9iper1/.m2/repository/org/toktok/tox4j-c_i686-linux-android/0.2.12/tox4j-c_i686-linux-android-0.2.12.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_i686-linux-android/0.2.12/tox4j-c_i686-linux-android-0.2.12.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_i686-linux-android/0.2.12/tox4j-c_i686-linux-android-0.2.12.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_armv7a-linux-androideabi:0.2.12.
Searched in the following locations:
- file:/home/s9iper1/.m2/repository/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.12/tox4j-c_armv7a-linux-androideabi-0.2.12.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.12/tox4j-c_armv7a-linux-androideabi-0.2.12.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.12/tox4j-c_armv7a-linux-androideabi-0.2.12.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_aarch64-linux-android:0.2.12.
Searched in the following locations:
- file:/home/s9iper1/.m2/repository/org/toktok/tox4j-c_aarch64-linux-android/0.2.12/tox4j-c_aarch64-linux-android-0.2.12.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_aarch64-linux-android/0.2.12/tox4j-c_aarch64-linux-android-0.2.12.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_aarch64-linux-android/0.2.12/tox4j-c_aarch64-linux-android-0.2.12.pom
Required by:
project :domain

@robinlinden
Copy link
Collaborator

robinlinden commented Aug 2, 2021

I think you missed this part of the readme: https://github.com/evilcorpltd/aTox#build-tox4j

If you're unable to build the libraries yourself, tox4j is also uploaded as a GitHub Actions artifact on every commit to master: https://github.com/evilcorpltd/aTox/actions

Unzip to %USERPROFILE% on Windows (e.g. C:/Users/robin) or $HOME on Linux (e.g. /home/robin/).

Having to build these libraries manually is unfortunate, but I haven't yet sorted out hosting for them since bintray died. Fixing it is on my backlog: #730.

Please let me know how it goes!

@robinlinden robinlinden added the question Further information is requested label Aug 2, 2021
@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

should i run each script one by one e.g ./scripts/build-host -j$(nproc)
OR copy all and execute ?

@robinlinden
Copy link
Collaborator

Running the scripts one-by-one should work! It's what we do in CI. :)

@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

i copy all and pasted in terminal. here is the output https://paste.ubuntu.com/p/CHS4kRCsSr/

@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

still i got this
Failed to resolve: org.toktok:tox4j-api_2.11:0.2.3
Show in Project Structure dialog
Affected Modules: atox, domain

now i will try prebuilt solution, i am using linux ubuntu, i will extract it in Home folder, i hope it picks up from there.

@robinlinden
Copy link
Collaborator

From your terminal output:

/bin/sh: 1: sbt: not found
make: *** [scripts/dependencies.mk:14: /home/s9iper1/work/AndroidStudioProjects/aTox/_install/jvm-sbt-plugins.stamp] Error 127

You're missing sbt which means you can't build all dependencies. :P

@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

It works, Thanks for the help 👍

@s9iper1 s9iper1 closed this as completed Aug 2, 2021
@robinlinden
Copy link
Collaborator

Glad to hear it! :) What are you working on, if you don't mind me asking?

@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

i am just asked to build this project by employer, will get more info later on.

@robinlinden
Copy link
Collaborator

Cool! Well, good luck, and it'd be interesting to know how it goes! Let me know if there's anything else. :)

@s9iper1
Copy link
Author

s9iper1 commented Aug 2, 2021

sure

@utopia-category
Copy link

It works, Thanks for the help 👍

how to make works?
when i run ./gradlew build,it was show:

What went wrong:
Execution failed for task ':domain:processDebugAndroidTestManifest'.

Could not resolve all files for configuration ':domain:debugAndroidTestRuntimeClasspath'.
Could not find org.toktok:tox4j-api_2.11:0.2.3.
Required by:
project :domain
Could not find org.toktok:tox4j-c_2.11:0.2.3.
Required by:
project :domain

can u help me?

@ghost
Copy link

ghost commented Sep 17, 2023

This worked, Although the version was different

@toxifoxy
Copy link

can u please give me the link to the newest repositories or give us a demo to build it after cloning the project from github
like where i lunch the command of building ?how to install dependencies?etc...
Could not determine the dependencies of task ':domain:preBuild'.

Could not create task ':domain:fixPaths'.
Could not resolve all files for configuration ':domain:needFixing'.
> Could not find org.toktok:tox4j-c_x86_64-linux-android:0.2.18.
Searched in the following locations:
- file:/home/toxi/.m2/repository/org/toktok/tox4j-c_x86_64-linux-android/0.2.18/tox4j-c_x86_64-linux-android-0.2.18.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_x86_64-linux-android/0.2.18/tox4j-c_x86_64-linux-android-0.2.18.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_x86_64-linux-android/0.2.18/tox4j-c_x86_64-linux-android-0.2.18.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_i686-linux-android:0.2.18.
Searched in the following locations:
- file:/home/toxi/.m2/repository/org/toktok/tox4j-c_i686-linux-android/0.2.18/tox4j-c_i686-linux-android-0.2.18.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_i686-linux-android/0.2.18/tox4j-c_i686-linux-android-0.2.18.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_i686-linux-android/0.2.18/tox4j-c_i686-linux-android-0.2.18.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_armv7a-linux-androideabi:0.2.18.
Searched in the following locations:
- file:/home/toxi/.m2/repository/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.18/tox4j-c_armv7a-linux-androideabi-0.2.18.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.18/tox4j-c_armv7a-linux-androideabi-0.2.18.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_armv7a-linux-androideabi/0.2.18/tox4j-c_armv7a-linux-androideabi-0.2.18.pom
Required by:
project :domain
> Could not find org.toktok:tox4j-c_aarch64-linux-android:0.2.18.
Searched in the following locations:
- file:/home/toxi/.m2/repository/org/toktok/tox4j-c_aarch64-linux-android/0.2.18/tox4j-c_aarch64-linux-android-0.2.18.pom
- https://dl.google.com/dl/android/maven2/org/toktok/tox4j-c_aarch64-linux-android/0.2.18/tox4j-c_aarch64-linux-android-0.2.18.pom
- https://repo.maven.apache.org/maven2/org/toktok/tox4j-c_aarch64-linux-android/0.2.18/tox4j-c_aarch64-linux-android-0.2.18.pom
Required by:
project :domain

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

No branches or pull requests

4 participants