6
कैसे जोड़ें -Xlint: मेरे एंड्रॉइड ग्रेडल आधारित प्रोजेक्ट के लिए अनियंत्रित?
मैंने मूल build.gradleफ़ाइल में निम्नलिखित जोड़ने की कोशिश की : subprojects { gradle.projectsEvaluated { tasks.withType(Compile) { options.compilerArgs << "-Xlint:unchecked -Xlint:deprecation" } } } लेकिन मुझे यह मिल रहा है: FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':Libraries:ActionBarSherlock:compileRelease'. > invalid flag: -Xlint:unchecked -Xlint:deprecation मैं …