I usually use the warnings to clean up my code in the following manner:
- They tell us which variables are never used locally. Hence, DELETE them.
- Use of deprecated stuff in android, hence keeping my code up-to-date.
- Removing unused imports.
- Useless assignments to variables.
- Errors in Manifest like not setting "allowBackup=true/false"
etc etc...
No errors, but only warnings, means your code will run well. But the code may not be the best.