🐤I built a Mac app that uses AI to explain Android logs

rust dev.to

TL;DR

  • A lightweight Mac app that shows Android logcat in real-time GUI
  • Press 🐣 on any log line → Gemini AI explains the cause and fix in seconds
  • Completely free & open source

Why I built this

Android Studio is too heavy just to check logcat.
I wanted a lightweight Mac-native tool — and decided to add AI diagnosis while I was at it.
That's how HiyokoLogcat was born.


What it does

  • Real-time logcat streaming via USB
  • Color-coded by log level (ERROR / WARN / INFO)
  • Keyword search & level filtering
  • Press 🐣 on any line → Gemini AI explains the root cause in your language

The AI diagnosis is surprisingly good

Here's an example of what Gemini returns:

Root Cause: This log is part of normal Android system lifecycle management...
Fix: Use a Foreground Service to prevent the system from killing your process...

Powered by Gemini 3 Flash Preview — works with a free API key.


How to use

1. Download

Grab the latest .dmg from Releases

2. Set up Gemini API Key

Get a free key from Google AI Studio → paste it in ⚙️ Settings

3. Connect your Android via USB and hit Start!


Tech Stack

  • Rust + Tauri v2 — Native Mac app
  • React + TypeScript — UI
  • Google Gemini API — AI diagnosis engine
  • react-virtuoso — Handles tens of thousands of log lines smoothly

Wrapping up

HiyokoLogcat is free and open source. Feedback, bug reports, and stars are all welcome 🐣

👉 https://github.com/Hiyoyoko/HiyokoLogcat

Source: dev.to

arrow_back Back to Tutorials