glutter-android

command
v1.16.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: BSD-3-Clause Imports: 21 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

Command glutter-android builds, installs, runs and takes screenshots of Glutter apps on Android (SPEC §24.1):

glutter-android build [-o app.apk] [-abi arm64,amd64] [-release] [-app-id id] [-label name] [-icon icon.png] [-permission NAME]... <package>
glutter-android install [-device serial] <package|app.apk>
glutter-android run [-device serial] [-env GLUTTER_X=v]... <package>
glutter-android shot [-avd glutter-37 | -device serial] [-renderer r] [-env GLUTTER_X=v]... [-screen] -o file.png <package>
glutter-android perf [-avd glutter-37 | -device serial] [-release=true] [-abi arm64,amd64] [-renderer r] [-env GLUTTER_X=v]... [-starts 5] [-settle 8s] [-seconds 10] [-frames=true] [-format text|markdown] [-o report] <package>

perf builds the package (a release build of each ABI by default), installs it and prints a report of the numbers of SPEC §15: the size of the APK per ABI and of its libapp.so, the cold start (am start -W and the engine's first-frame time), the idle CPU, the frame times of a scenario (GLUTTER_FRAME_STATS=1 with the dev events of -env GLUTTER_DEV_EVENTS=..., which only debug builds read) and the memory. scripts/perf-android.sh runs it for the examples.

It needs the Android SDK and NDK (ANDROID_HOME) and a Java runtime for apksigner.

Flutter: no counterpart (flutter build apk, flutter run)

Jump to

Keyboard shortcuts

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