Skip to content
Advertisement

Tag: build.gradle

Gradle – Could not find load main class

I need to tune the JVM memory by help of Gradle. I’ve writen settings in the gradle.properties file: org.gradle.jvmargs=-XX:MaxMetaspaceSize=60M but it didn’t work. Then I’ve done it manually in an IDEA (Run>Edit Configurations…) and wrote the settings for the needed class (in VM options: field) and it works. Can we do the same by help of Gradle? I’ve tried to

How to exclude all files under a directory in Gradle?

For example, this one will exclude 1 file. But how to exclude all file under a directory? like: org/apache/commons/codec/language/bm/ folder? . does not work 🙂 Answer wild card can be used to enforce action to multiple file in directory. See this:- You can also exclude a file/directory with out specifying the full path this way:- Note: this will exclude any

Error:Execution failed for task ‘:app:mergeDebugResources’. > Some file crunching failed, see logs for details build gradle issues

currently I am using Android Studio 2.1 when I run my App it shows me some error in Message Gradle Build saying the following I tried cleaning and rebuilding it but it didn’t work. The answer for this question didn’t work also. Any help would be appreciated, thanks. Updated: Here is the log output Answer All problem was a crashed

Advertisement