skip to Main Content

When updating Kotlin this morning, Android Studio gave me this warning:

10:38 AM File type recognized: File extension ‘*.klib’ was reassigned
to ‘ARCHIVE’ Revert to plain text

What exactly does this message mean? Should I revert it to plain text?

2

Answers


  1. *.klib files are libraries that have been produced with the Kotlin/Native compiler. Thus they are correctly classified as a type of archive.

    I received the same message while updating Kotlin, and I think that the message is should simply be ignored.

    Login or Signup to reply.
  2. If your Android Studio doesn’t recognizes references (imports) from klib files, then you have to check your file type associations and add *.klib to Archive file type. Then click on File -> Invalidate Cache / Restart. It should start working.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search