کشفیات بی ارزش

Sunday, January 11, 2015

Recompile with -Xlint:unchecked

Got a warning from lint and don't know how to view it?
add these to app/build.grade folder under AndroidStudio:
 gradle.projectsEvaluated {  
   tasks.withType(JavaCompile) {  
     options.compilerArgs << "-Xlint:unchecked"  
   }  
 }  

Posted by کاشف پاره‌وقت at 9:23 PM
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: android, AndroidStudio, lint, warning

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

About Me

کاشف پاره‌وقت
View my complete profile

Blog Archive

  • ►  2020 (1)
    • ►  May (1)
  • ►  2018 (6)
    • ►  October (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  March (1)
  • ►  2017 (12)
    • ►  October (6)
    • ►  August (1)
    • ►  July (1)
    • ►  April (2)
    • ►  March (2)
  • ►  2016 (6)
    • ►  October (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (2)
    • ►  February (1)
  • ▼  2015 (12)
    • ►  October (1)
    • ►  September (1)
    • ►  July (1)
    • ►  June (1)
    • ►  May (1)
    • ►  April (1)
    • ►  February (1)
    • ▼  January (5)
      • Android's different structure to manage the UI
      • Recompile with -Xlint:unchecked
      • Rolekit On Fedora
      • The misunderstood firewalld
      • Migrate from SVN to GIT
  • ►  2014 (21)
    • ►  December (4)
    • ►  November (6)
    • ►  October (11)
Simple theme. Powered by Blogger.