⛔️ 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.
- appcompat_v7 errors after updates to API level 21 Material Theme
- adb: The Android Debug Bridge and Commands
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- How to make TextView Text Transparent [Android]
- Android is starting optimizing... app 1 of 1
- How to make Text in TextView bold and italic in Android
- Android Development - How to switch between two Activities
- Android : IOException: Unable to open sync connection!
- Android Toolbar example with appcompat_v7 21
- How to Change Android Title Bar Color?
- How to Add Padding to Android TextView
- JavaScript : redirect page to other url
- Programmatically Send an Email from Android App using Intent
- What is Android Toast.LENGTH_SHORT and Toast. LENGTH_LONG durations
- [Soluiton] You already have the latest version of Android Studio installed
- Detect swipes on Android Activity
- Add Buttons at the bottom of Android Layout xml file
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Hide Navigation Bar from Android Screen Activity
- Android Disable EditText from Auto Focus on Activity load
- Toast not getting displayed Android App
- How to Enable Developers Option in Android Phones Settings
- Android : Duplicate registration for activity com.example.abc
- Android ListView turns Black or Flickers while Scrolling
- Android Studio Ctrl Shift o auto import not working
- Notepad++: How to add Quotes to CSV File - NotepadPlusPlus
- Installing Home-brew on Ubuntu - Ubuntu
- XmlRpcException ConnectException connection refused error - Java
- Java get day of the week as an int using DayOfWeek - Java
- Ubuntu Linux: Unzip a zip file using Terminal - Ubuntu
- How to Display Excel Spreadsheet on SharePoint site - SharePoint
- AW3 CLI command to get list of all region names - AWS
- Keyboard shortcuts to format Source code in Microsoft Visual Studio Code IDE - Microsoft