A Windows console tool that monitors directories for Android shared library (.so) file changes and automatically builds/deploys APK files to connected devices.
- Windows
- Delphi/RAD Studio with Android support
- ADB in PATH
- FFmpeg in PATH (for screen recording)
choco install ffmpegAdd to System PATH:
C:\Users\<user>\AppData\Local\Android\Sdk\emulator
C:\Users\<user>\AppData\Local\Android\Sdk\platform-tools
C:\Windows\Microsoft.NET\Framework\v4.0.30319
Environment variables:
- BDS:
C:\Program Files (x86)\Embarcadero\Studio\23.0 - FrameworkDir:
C:\Windows\Microsoft.NET\Framework\v4.0.30319 - FrameworkVersion:
v4.5
Run apkmon.exe and follow these prompts to configure watch directory, projects, build config, and deploy actions. It includes basic functionality for recording screen, logging and profiling.
| Command | Description |
|---|---|
list |
Show current projects |
add <project> |
Add project to monitor |
build all|<name> |
Build project(s) |
deploy all|<name> |
Deploy project(s) |
bd all|<name> |
Build and deploy |
| Command | Description |
|---|---|
pause |
Pause auto-detection |
resume |
Resume auto-detection |
| Command | Description |
|---|---|
devices |
List connected devices |
pair <ip>:<port> |
Pair WiFi device (Android 11+) |
qrpair |
QR code pairing (scan with device) |
connect <ip>:<port> |
Connect to WiFi device |
disconnect [<ip>:<port>] |
Disconnect WiFi device(s) |
| Command | Description |
|---|---|
logcat [filter] |
Start logcat |
logcat -s <device> [filter] |
Logcat on specific device |
logcat stop |
Stop logcat |
logcat pause/resume |
Pause/resume output |
logcat clear |
Clear buffer |
logcat status |
Show status |
| Command | Description |
|---|---|
record output <path> |
Set output folder |
record start <device> |
Start recording |
record stop |
Stop and save |
record status |
Show status |
Records at 60fps, native resolution. Long recordings auto-segment and merge files via FFmpeg. Configuration path for recordings is persited between sessions.
| Command | Description |
|---|---|
fps <device> <package> |
Start FPS monitoring |
fps stop |
Stop FPS monitoring |
| Command | Description |
|---|---|
profile <device> <package> |
Start CPU/Memory/Battery monitoring |
profile stop |
Stop profiling |
| Command | Description |
|---|---|
help |
Show commands |
quit |
Exit |
- Only monitors
.sofiles to avoid infinite loops - Deploy must be done manually on the first build
Project > Deployment > Deploy - Delphi FMX requires ARM/ARM64 devices (x86 emulators need Google APIs ARM image)
