Kotlin App Metadata File

Developer JetBrains
1.0  |  2 Votes

What is a KOTLIN_METADATA file?

A KOTLIN_METADATA file is a metadata file created while building an Android application written using Kotlin. Under certain circumstances, Android app packagers create KOTLIN_METADATA files within an app's .APK file. Most apps do not require KOTLIN_METADATA files to function, so most developers choose to exclude them from their finalized APK files.

More Information

Screenshot of a .kotlin_metadata file in File Viewer Plus
KOTLIN_METADATA file open in File Viewer Plus

Kotlin is a programming language developed by JetBrains. It is the primary programming language that developers use to create Android applications, in IDEs such as Google Android Studio.

When a developer packages a Kotlin-based app into an APK file, it is possible that the program they use to package their app will create one or more KOTLIN_METADATA files within the APK file. These KOTLIN_METADATA files, which are not necessary to an app's function unless the app uses kotlin-reflect to perform introspection at runtime, often bloat an app's file size. Thus, many developers update their app project's build.gradle file to include the following command, which prevents app packagers from creating KOTLIN_METADATA files (and other files whose extensions include .kotlin_):

packagingOptions.exclude '**/*.kotlin_*'

APK files that contain KOTLIN_METADATA files typically store them in the kotlin and kotlinx directories.

How to open a KOTLIN_METADATA file

KOTLIN_METADATA files are not meant to be opened.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open KOTLIN_METADATA files

No programs available

Verified by FileInfo.com

The FileInfo.com team has independently researched the Kotlin App Metadata file format and apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.