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

Can't build apk by andriod studio #7

Open
fengya600 opened this issue Jun 29, 2016 · 3 comments
Open

Can't build apk by andriod studio #7

fengya600 opened this issue Jun 29, 2016 · 3 comments

Comments

@fengya600
Copy link

fengya600 commented Jun 29, 2016

Thanks for you great work.
I try to build apk by your source code ,seems it doesn't works.

This is from message Gradel Sync:
D:\eva\eviacam\build.gradle
Error:(8, 0) Process 'command 'git'' finished with non-zero exit value 128

Open File

This is event log:
10:55:04 Gradle sync started
10:55:12 Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128
Consult IDE log for more details (Help | Show Log)
10:56:09 Gradle sync started
10:56:11 Gradle sync failed: Process 'command 'git'' finished with non-zero exit value 128

Consult IDE log for more details (Help | Show Log)

and this is source code:

`/* Gets the version name from the latest Git tag */

def getVersionName = { ->

def stdout = new ByteArrayOutputStream()

exec {

    commandLine 'git', 'describe', '--tags'

    standardOutput = stdout

}

return stdout.toString().trim()

}`

@cmauri
Copy link
Owner

cmauri commented Jun 29, 2016

Did you clone the entire repository including tags and modules? Is the git executable available from the command line?

@fengya600
Copy link
Author

Thank you ,I think I found the problem.
There is a "WizarDroid lib" in this repository, but my local "WizarDroid" folder is empty when I finished pull this repository.
so that's why I can't build the APK, I need "git clone --recursive"

@abk27
Copy link

abk27 commented Feb 15, 2017

Can we directly form apk of this project in android studio ?If yes then tell me the steps,I am very greatful for that.

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