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
Is it possible to declare a variable in Gradle usable in Java ? Basically I would like to declare some vars in the build.gradle and then getting it (obviously) at build time. Just like a pre-processor macros in C/C++… An example of declaration would be something like that … : Is there a way to do something like that ?