Help Center/ CodeArts Build/ User Guide (Ally Region)/ FAQs/ Using Android for Build/ Failed to Execute a Task Due to the lint Check Error
Updated on 2026-01-08 GMT+08:00
Failed to Execute a Task Due to the lint Check Error
Symptoms

Solution
Add -xlint after the gradle command in the command line to skip the lint check. For example:
/bin/bash ./gradlew assembleDebug -Dorg.gradle.daemon=false -d --stacktrace -xlint
or
gradle assembleDebug -Dorg.gradle.daemon=false -d --stacktrace --init-script /root/.gradle/init.gradle -xlint
Parent topic: Using Android for Build
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot