Stay organized with collections
Save and categorize content based on your preferences.
UnsatisfiedLinkError
open class UnsatisfiedLinkError : LinkageError
Thrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native
.
Summary
Public constructors |
Constructs an UnsatisfiedLinkError with no detail message.
|
Constructs an UnsatisfiedLinkError with the specified detail message.
|
Public constructors
UnsatisfiedLinkError
UnsatisfiedLinkError()
Constructs an UnsatisfiedLinkError
with no detail message.
UnsatisfiedLinkError
UnsatisfiedLinkError(s: String!)
Constructs an UnsatisfiedLinkError
with the specified detail message.
Parameters |
s |
String!: the detail message. |
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[null,null,["Last updated 2025-02-10 UTC."],[],[],null,["# UnsatisfiedLinkError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nUnsatisfiedLinkError\n====================\n\n```\nopen class UnsatisfiedLinkError : LinkageError\n```\n\n|---|---|---|---|-------------------------------------|\n| [kotlin.Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) |||||\n| ↳ | [kotlin.Throwable](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html) ||||\n| | ↳ | [java.lang.Error](/reference/kotlin/java/lang/Error) |||\n| | | ↳ | [java.lang.LinkageError](/reference/kotlin/java/lang/LinkageError) ||\n| | | | ↳ | [java.lang.UnsatisfiedLinkError](#) |\n\nThrown if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared `native`.\n\nSummary\n-------\n\n| Public constructors ||\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|\n| [UnsatisfiedLinkError](#UnsatisfiedLinkError())`()` Constructs an `UnsatisfiedLinkError` with no detail message. |\n| [UnsatisfiedLinkError](#UnsatisfiedLinkError(kotlin.String))`(`s:` `[String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!`)` Constructs an `UnsatisfiedLinkError` with the specified detail message. |\n\nPublic constructors\n-------------------\n\n### UnsatisfiedLinkError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsatisfiedLinkError()\n```\n\nConstructs an `UnsatisfiedLinkError` with no detail message. \n\n### UnsatisfiedLinkError\n\nAdded in [API level 1](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nUnsatisfiedLinkError(s: String!)\n```\n\nConstructs an `UnsatisfiedLinkError` with the specified detail message.\n\n| Parameters ||\n|-----|--------------------------------------------------------------------------------------------------------|\n| `s` | [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)!: the detail message. |"]]