Android Studio and Gradle build error -


i've been using new preview of android studio , it. project won't build. following error:

gradle:  failure: build failed exception.  * went wrong: execution failed task ':testproj:compiledebug'. > compilation failed; see compiler error output details.  * try: run --stacktrace option stack trace. run --info or --debug option more log output.  not execute build using gradle distribution 'http://services.gradle.org/distributions/gradle-1.6-bin.zip'. 

question how enable stack trace can root of error. have no idea what's causing this.

if using gradle wrapper (the recommended option in android studio), enable stacktrace running gradlew compiledebug --stacktrace command line in root folder of project (where gradlew file is).

if not using gradle wrapper, use gradle compiledebug --stacktrace instead (presumably).

you don't need run --stacktrace though, running gradlew compiledebug itself, command line, should tell error is.

i based information on comment:

android studio new project can not run, throwing error


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -