Solved: No value has been specified for property ‘lintClassPath’

While I was developing small code for checking device information, after I edited our sample code downloaded from github and tried to compile app from command line as shown below, I encountered an error as

$ ./gradlew clean build
< Task :app:lint FAILED

FAILURE: Build failed with an exception.

* What went wrong:
A problem was found with the configuration of task ':app:lint'.
&gt; No value has been specified for property 'lintClassPath'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at

3 actionable tasks: 1 executed, 2 up-to-date

Solution Which Worked :

As we can see above there is no clear information regarding what went wrong in the compilation, hence last option I thought was to may be some version mismatch hence let Android Studio do some auto updates and we can try how it goes.

Subscribe with Valid Email Id to receive updates in Inbox. ( Secured by Google FeedBurner )


Related :   adb shell screencap - Use ADB to capture the Screen

Hence, as I opened the project from Android Studio, Studio created following two files automatically,

new file:   .idea/codeStyles/Project.xml
new file:   .idea/vcs.xml

And after just opening from Android Studio and then try recompile from command line.. it worked without any issues.


Leave a Comment

Android Android Build system Android Commands Android Java Applications Application Libraries Application Stack / User Interface Bash / Shell Scripts Bluetooth driver Cloud Technologies Commands and Packages Compilation Content Management System Core Kernel C Programs Development & Build Development, Debugging and Performance Tools Development Environment Setup Django & REST Api Errors & Failures Git Hardware Platforms HTML JAVA Programs Linux, OS Concepts and Networking Linux Device Drivers Linux Host, Ubuntu, SysAdmin Linux Kernel Linux Networking Middleware Libraries, HAL Multimedia Audio, Video, Images NDK / Middleware / HAL OS Concepts PHP Programming Languages Scripting and Automation Search Engine Optimisation ( SEO ) Social Media Source Code Management ( SCM ) System Administration, Security Testing and Debugging Uncategorized Web design and development Website Hosting Wordpress Yocto / Bitbake / Openembedded