⛔️ Export Aborted
Export aborted because fatal lint errors were found. These are listed in Lint View. Either fix these before running Export again or turn off "Run full error check when exporting app" in the Android > Lint Error Checking preference page.
If you just tried to Export your Android Project and got the above error message. Just check Lint Warnings Window for Lint Errors.
First let's see what Lint is !
Android Lint is a new tool introduced in ADT 16 which scans Android project sources for potential bugs.
Some of the Errors that Lint looks for :
- Missing or Unused translations (language tags like af, am, ar, bg)
- Layout performance problems (all the issues the old layoutopt tool used to find, and more)
- Unused resources
- Inconsistent array sizes
- Hardcoded Strings
- Missing contentDescription
- Accessibility and internationalisation problems
- Problems related to Icon problems such as missing densities, duplicate icons, wrong sizes
- Usability problems (like not specifying an input type on a text field)
- Manifest errors
- and more ....
Each Lint error is put into a certain category like Correctness, Correctness: Message, Security, Performance e.t.c
Solution :
Look for the lint error type and try to fix it. If you think that it is not an issue, then you can suppress the error (fatal error) to a warning, information or ignore type :
Example :
If you get an error like "app_name" is not translated in "af" (Afrikaans), "am" (Amharic), "ar" (Arabic) ... which is to Category : Correctness: Message, its because you have not translated the string values to these languages. By default, it is a Lint Fatal error, if you do not want to translate your app to these languages,
Go to Menu : Eclipse -> Preferences ( on macOS) or Menu : Window -> Preferences (on Windows)
In Preferences Goto : Android -> Lint Error Checking and look for ExtraTranslation under Category : Correctness:Message, and change its type from Fatal to Warning.
Similarly fix all the issues and you would be able to export your .apk file.
- Change Android Toast background color
- Maven : java.lang.ClassNotFoundException: Xmx512m
- This class should be public (android.support.v7.internal.widget.ActionBarView.HomeView) Lint Error
- Android Alert Dialog with Checkboxes example
- Android Error Generating Final Archive - Debug Certificate Expired
- How to add Newline to text in Android TextView
- Read Text file from SD Card : Android Programming
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- ActivityManager Warning: Activity not started, its current task has been brought to the front
- INSTALL_FAILED_INSUFFICIENT_STORAGE Android Error
- Android Developers Bluetooth Tutorial
- java.lang.ClassNotFoundException android.support.v7.widget.Toolbar [Fix]
- Android: Save Data in local Db using Android Room
- Channel 50 SMSes received every few minutes Android Phones
- 21 Useful Android Emulator Short-cut Keyboard Keys
- Changing Android Intent Tittle using java code
- Android : No Launcher activity found! Error
- How to change TextView or EditText Text Color on Focus and on Press
- How to display Toast on Button Click : Android
- Android : Execute some code after back button is pressed
- Stop android adb service from command prompt or terminal
- [Soluiton] You already have the latest version of Android Studio installed
- Create Custom Android AlertDialog
- Android R Cannot Be Resolved To A Variable
- How to make Android EditText not editable
- INSTALL_FAILED_INSUFFICIENT_STORAGE Error Android Emulator - Android
- Error:The SDK Build Tools revision (XX.X.X) is too low for project. Minimum required is XX.X.X - Android
- How to start/boot macOS in safe mode - Big Sur 11.0, Catalina 10.15, or Mojave 10.14 - MacOS
- Page actions are temporarily disabled [Google Search Console Page Crawling] - Google
- Android : How to make TextView Scrollable - Android
- How to check RAM details on Mac? - MacOS
- Access Windows share folder in Ubuntu Device in Network - Ubuntu
- Error running 'app': No target device found. - Android-Studio