A
A
Ainur Shakirov2016-03-24 13:16:46
Android
Ainur Shakirov, 2016-03-24 13:16:46

Gradle Android module vs Android module what are the differences?

When creating a new project in intelji IDEA, there are 2 types of android applications to choose from: Gradle Android module and just Android module
I understand that Gradle is something like a "plugin" that compiles the project itself, and has more features than the standard java compiler ?
Why I asked this question: my application does not compile with gradle. Even hello word.

Error:Gradle: Execution failed for task ':lib:processDebugResources'.
> com.android.ide.common.process.ProcessException: org.gradle.process.internal.ExecException: Process 'command 'D:\Dev\AndroidSDK\build-tools\22.0.1\aapt.exe'' finished with non-zero exit value 1

And most of the tutorials use gradle (I'm currently trying to create a theme).
Is he really needed? And how to "fix" it?
PS in the properties changed to different versions of the gradle.
All libraries from the SDK are installed. (except for some android versions)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2016-03-24
@Fqyeh29

Gradle is an automated build system built on the principles of Apache Ant and Apache Maven, but providing a Groovy DSL instead of the traditional XML-like form of project configuration.

when you have 20 dependencies in your project, then you will understand why gradle))
install AndroidStudio - it runs faster, I didn’t notice such problems and I myself based on idea, there are familiar goodies there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question