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 project due to dependency #54

Closed
bha2020 opened this issue Mar 13, 2018 · 7 comments
Closed

Unable to compile project due to dependency #54

bha2020 opened this issue Mar 13, 2018 · 7 comments

Comments

@bha2020
Copy link

bha2020 commented Mar 13, 2018

Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve project :speechutils:app. Open File Show Details

Unable to resolve dependency for ':app@release/compileClasspath': Could not resolve project :speechutils:app. Open File Show Details

Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve project :speechutils:app. Open File Show Details

@Kaljurand
Copy link
Owner

Can you provide the commandline (or some other description) of how do you try to compile the project?

The error seems to be caused by the fact that the speechutils repository (a separate repository) is not properly cloned. K6nele includes it as a submodule (https://github.com/Kaljurand/K6nele/blob/master/.gitmodules). Normally, the build system should automatically pull this in.

This is possibly related to #49

@bha2020
Copy link
Author

bha2020 commented Mar 15, 2018

Thank you for the reply.
When I download this project as zip then folders net-speech-api and speechutils are empty.
so the main project is not able to find dependency when i opened project in android studio.

@Kaljurand
Copy link
Owner

Yes, if you install via zip-files, then you need to download and unpack the dependencies (net-speech-api and speechutils) separately.

@bha2020
Copy link
Author

bha2020 commented Mar 16, 2018

yes I have unziped that dependency but the dependency folder is null.Not having any contents

@Kaljurand
Copy link
Owner

Kaljurand commented Mar 17, 2018

I need more details, e.g. what do you mean by "dependency folder"? Which version of Android Studio do you use? Can you build on the commandline with gradle?

@lhztop
Copy link

lhztop commented Jan 21, 2019

@Kaljurand I met the same problem, becasue I run in windows and git clone with https.
after use ssh and with --recursive, problem is fixed.
so it's clone problem.
it can be marked as fixed.

@Kaljurand
Copy link
Owner

@lhztop 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

3 participants