runtime

package
v0.3.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2026 License: Apache-2.0 Imports: 1 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package runtime holds the prebuilt parts of every APK: the Java runtime in ../java, compiled to dex, and the manifest nsgo build fills in for each app; and the same runtime as a jar, for the libraries nsgo build -embed makes. The nsgo tool embeds them, so packaging needs neither a JDK nor the Android SDK.

The Java runtime cannot be built with Go, so classes.dex and classes.jar are committed. Pull requests change only ../java or the runtime's build inputs: CI builds them with build.sh for its tests, and maintainers commit the rebuilt files to main in a bot/android-runtime pull request. Run build.sh to try a change on a device, without committing what it writes.

Index

Constants

This section is empty.

Variables

View Source
var ClassesDex []byte

ClassesDex is the Java runtime and Play Review/In-App Updates SDKs compiled for Android, built by d8.

View Source
var ClassesJar []byte

ClassesJar holds NSGo's Java classes for a host app's build and the standalone SDK's license metadata; a Gradle host supplies its own SDK.

View Source
var Manifest []byte

Manifest describes an NSGo app before packaging fills in its package name, version and label.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL