Stay organized with collections
Save and categorize content based on your preferences.
SigningInfoException
open class SigningInfoException : Exception
Indicates an error when verifying the app signing information.
Summary
Public methods |
open Int |
Returns a code representing the cause, in one of the installation parse return codes in PackageManager .
|
Public methods
getCode
open fun getCode(): Int
Returns a code representing the cause, in one of the installation parse return codes in PackageManager
.
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-03-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-13 UTC."],[],[],null,["# SigningInfoException\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels)\n\nSigningInfoException\n====================\n\n*** ** * ** ***\n\nKotlin \\|[Java](/reference/android/content/pm/SigningInfoException \"View this page in Java\") \n\n```\nopen class SigningInfoException : Exception\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.Exception](../../../java/lang/Exception.html#) ||\n| | | ↳ | [android.content.pm.SigningInfoException](#) |\n\nIndicates an error when verifying the [app signing](https://source.android.com/docs/security/features/apksigning) information.\n\nSummary\n-------\n\n| Public methods ||\n|---------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| open [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | [getCode](#getCode())`()` Returns a code representing the cause, in one of the installation parse return codes in [PackageManager](/reference/kotlin/android/content/pm/PackageManager). |\n\nPublic methods\n--------------\n\n### getCode\n\nAdded in [API level 36](https://developer.android.com/guide/topics/manifest/uses-sdk-element.html#ApiLevels) \n\n```\nopen fun getCode(): Int\n```\n\nReturns a code representing the cause, in one of the installation parse return codes in [PackageManager](/reference/kotlin/android/content/pm/PackageManager)."]]