How to log in build.gradle android

Updated 22 December 2016

Save

In this blog,

I will show you how to print messageg in the build.gradle file in the android studio.

Here, we are using the an Exception method to Log the message in the build.gradle.

 

Log in Build.Gradle using “GradleException

If you want to print the message force fully then you should abort the gradle build with

 

screenshot_1

In above snapshot we have write the above error code in build.gradle, so after sync the error occues and show your log in the Messages and Event Log.

 

 

 

 

 

 

author
. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home