loadlibrary kotlin
snippet in kotlin

loadlibrary kotlin

user9507

companion object {
        init {
            System.loadLibrary("native-lib")
        }
    }