Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Help Center/ CodeArts Build/ FAQs/ Using Android for Build/ Failing to Execute a Task Due to the lint Check Error

Failing to Execute a Task Due to the lint Check Error

Updated on 2023-11-28 GMT+08:00

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
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback