AndroLog

Open-source Android execution analysis

See what
actually ran.

Add logging to an APK, run it on Android, and explore the execution. Measure coverage and inspect recorded calls without the applicationโ€™s source code.

Developed by Jordan Samhi

From execution to coverageDemo APK
Coverage dashboard with statement, method, class, and Android component coverage for a demonstration APK.
Illustrative test APK results.Click to enlarge

01 Instrument

Choose what
to observe.

Open an APK and choose the probes you need: classes, methods, statements, Android components, or dynamic call-graph logging.

AndroLog produces an instrumented APK ready for a test run. The desktop interface guides you through the setup; the command line supports scripted workflows.

Command-line guide
Instrumentation screen showing a demonstration APK and selectable logging options.
Select logging probes.Demo APK ยท enlarge

02 Custom logs

Log the moment
that matters.

Browse the APKโ€™s reconstructed Jimple code and select a statement. Add a reached marker, your own message, or a variable value. The report shows the latest captured value.

Logs run before the selected statement. To inspect an assignmentโ€™s result, select the following statement.

The APK is your starting point; no source project is needed.

Custom logging editor with a class tree, Jimple statements, and a variable value selected for logging.
Add a log at a selected statement.Demo APK ยท enlarge

03 Capture

Run the app.
Keep the evidence.

Use a connected Android device or emulator.

  1. Start a testChoose Test on device, then Start test. AndroLog installs the APK, starts recording, and launches it.
  2. Exercise the appFollow the interactions and scenarios you want to analyse.
  3. Stop & analyseOpen coverage automatically. Keep the instrumented APK and its logs to revisit the run.

04 Explore

Follow the run
back into the code.

Explore coverage and recorded calls. The graph distinguishes confirmed runtime targets from declared targets whose actual destination was not confirmed.

Export standalone interactive HTML reports to inspect or share offline. Analysis needs the instrumented APK and captured logs; the original APK and local run history are not required.

Coverage reflects the inserted probes and this test run. Not observed does not mean unreachable.

Dynamic call graph for a demonstration APK, with confirmed calls and unconfirmed declared targets shown using different edges.
Inspect the calls captured in a run.Demo APK ยท enlarge

Build from source

Your first run
starts here.

Youโ€™ll need JDK 17+, Maven, Node.js 22.12+ with npm, and the Android SDKโ€™s Platforms, Build Tools, and Platform Tools (adb).

After launching, choose your SDK platforms and build-tools/<version> directories in Settings. Java is detected automatically.

Installation & launch guide
1. Build the backend
git clone https://github.com/JordanSamhi/AndroLog.git
cd AndroLog
mvn package
2. Launch the desktop app
cd electron-gui
npm ci
npm start

For later launches, run npm start from electron-gui.