androidlibprobe

command
v1.3.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2026 License: BSD-3-Clause Imports: 5 Imported by: ? 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 androidlibprobe live-verifies `bellui package` support for Android library dependencies in android/libs (#672): jars and AARs dexed into the APK, AAR resources linked with an R class per library package, and AAR manifests merged.

It calls android/LibProbe.java two seconds after launch, which uses androidx.core (ContextCompat.getColor on a color defined in the core AAR, getString on an AAR string through androidx.core.R) and androidx.collection (a plain jar), and prints one line to stdout (logcat tag Bellui):

androidlibprobe ok color=#ff9e9e9e overflow=999+ arrayset=2

Those values are androidx.core 1.3.2's own; any other value, an "error" line, or a crash (NoClassDefFoundError, Resources$NotFoundException) means a library was not dexed or its resources were not linked.

Build and run (from this directory):

./fetch.sh
CGO_LDFLAGS= ANDROID_HOME=~/Library/Android/sdk ANDROID_NDK_HOME=~/Library/Android/sdk/ndk/26.3.11579264 \
  bellui package --target android/arm64 --app-id com.trendvidia.androidlibprobe
adb install -r androidlibprobe.apk
adb logcat -c && adb shell am start -n com.trendvidia.androidlibprobe/org.golang.app.GoNativeActivity
adb logcat -d -s Bellui | grep androidlibprobe

Jump to

Keyboard shortcuts

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