Kaljurand / K6nele

An Android app that offers speech-to-text user interfaces to other apps
http://kaljurand.github.io/K6nele/
Apache License 2.0
267 stars 83 forks source link

Unable to compile project due to dependency #54

Closed bha2020 closed 5 years ago

bha2020 commented 6 years ago

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 commented 6 years ago

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 https://github.com/Kaljurand/K6nele/issues/49

bha2020 commented 6 years ago

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 commented 6 years ago

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

bha2020 commented 6 years ago

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

Kaljurand commented 6 years ago

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 commented 5 years ago

@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 commented 5 years ago

@lhztop Thanks!