Android Lint tool used to check Android Project codes for potential bugs and provides suggestions to optimize your code. This tool helps to improve correctness, security, performance, usability, accessibility, and internationalization.
If you using Android Studio or Android ADT for Eclipse or any other IDE for Android, you will find that when you compile your project the IDE automatically runs the Lint programs and provides warnings, errors and other information related to your code.
If you get an Error: Accidental Octal then it is because you are using Groovy and an integer literal that starts with a leading 0 that is being interpreted as an octal number. You get this error because this may be an accident addition of 0 which can lead to subtle bugs, for example when used in the versionCode of an app.
If you want to suppress this Error message to a warning or an info type,
- Go to Android Studio Welcome Screen.
- Click on Configure
- Project Defaults
- Settings
- Select Inspections
- Search for Accidental Octal
- Now under Option Change Severity to Info instead of Error
- Apply changes and we are done!!
- Check Internet Connection WIFI 4G is active on Android Programmatically
- Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]
- How to Change Android Toast Position?
- Fail to connect to camera service Android java RuntimeException
- How to create Custom RatingBar Android Programming Tutorial
- Fixing Android unknown error 961 while downloading app
- Android AlertDialog with Yes No and Cancel Button
- Share or Send SMS via Android Intent
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- Pass data between two Android Activities and access it using Intent
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- Android EditText Cursor Colour appears to be white
- Android Development - How to switch between two Activities
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Android : Remove ListView Separator/divider programmatically or using xml property
- Android is starting optimizing... app 1 of 1
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- AlertDialog with single button example : Android
- Android : Exception raised during rendering: action_bar API 22
- Maven : java.lang.ClassNotFoundException: Xmx512m
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Center align text in TextView Android Programming
- How to Download and Install Android adb Tool on Linux, Mac or Windows
- Multiline EditText in Android Example
- Change battery percentage in Android Emulator - Android
- Facebook | Error : Sorry, something went wrong We're working on it and we'll get it fixed as soon as we can - Facebook
- Git Remove Untracked Files using Command - Git
- How to Exit a File in Terminal (Bash/Zsh) - Linux
- Notepad++ Replace space with Dot - NotepadPlusPlus
- [Solution] Installing Whatsapp There's insufficient space on the device - WhatsApp
- Java Program to generate random string - Java
- Open VS Code Command Palette using Keyboard Shortcut - Shortcuts