Read complete story

How to log in build.gradle android

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.

 

 

 

 

 

 

. . .

Comment

Add Your Comment

Be the first to comment.

css.php
Hire Us!
Brief us about your requirements and we'll get back to you.
Woo! Hooy!
We have just recieved your project brief and our expert will contact you shortly.
Send Again
Close