getCoreDesc
Get the Core Module Version Description
getCoreDesc returns the detailed build description of the currently loaded Runtime Core (kernel engine). Compared with the pure numeric version number provided by getCoreVersion, the string returned by this interface contains more dimensions of information, such as the compilation timestamp, the Git repository's Commit ID, and a specific build branch identifier.
Method Declaration
java
/**
* Return the version description of the Runtime Core module.
* * @return A detailed description string containing the kernel version, build date, and hash value
*/
String getCoreDesc();Runtime Behavior
- Detailed diagnostics: In a production environment, if you encounter a rendering anomaly on a specific device model or a specific engine version, this descriptor helps technical support precisely pinpoint the source code snapshot of that engine version.
- Build traceability: It reflects the real build background of the kernel file, and is an important basis for determining whether a kernel file has been mistakenly replaced or mixed up.
Example
java
// Get the detailed kernel description from the core handle
String coreDescription = coreHandle.getCoreDesc();
// Output example: "Core_v2.3.15_20240825_release_7a8b9c"
Log.d("SUDOP_DEBUG", "Core Detail: " + coreDescription);
// When submitting a technical support ticket, it is recommended to copy this content directly
sendToSupport("Reported Bug on Core: " + coreDescription);Difference Between getCoreVersion and getCoreDesc
| Dimension | getCoreVersion | getCoreDesc |
|---|---|---|
| Return example | "2.3.15" | "Core_v2.3.15_20240825_7a8b9c" |
| Main use | Business logic decisions, version comparison | Troubleshooting, build traceability, log reporting |
| Content format | Strict semantic version number | A composite string containing date, hash, and build environment |
Notes
- Non-parsable: Because the format of the description string may change as the engine build scripts change, it is strictly forbidden to determine the version by parsing this string in business logic.
- Log collection recommendation: It is recommended to collect this descriptor as a core parameter of the environment context when a native crash or a rendering black screen occurs.
